Search the Community
Showing results for tags 'statement'.
-
Hi all! Below is the search result of my data page. I want to interpret the General Average this way, <=75 FAILED <=90 PROMOTED <=94 PROMOTED WITH HONOR <=97 PROMOTED WITH HIGH HONOR <=100 PROMOTED WITH HIGHEST HONOR my General average is calculated by this formula Round(AVG,0) Thank you hope someone can help...
-
If..Then Statement in Submission Form
lmooring posted a topic in User JavaScript and CSS Discussions
I need to create an alert on a submission form where, If the drop down box PACKTYPE is = "Simple" then if text field SIMPLEUNIT not equal to 1 Else if PACKTYPE is = "Complex" then a second text field COMPLEXUNITS must be =<2 or greater than 1, which ever is easier. I would like to include alert messages if possible. I am not sure how to write this. I am sure it is simple but I am not familiar enough and not in submission forms. I've only seen items for reports. Any help is appreciated! -
Hi there, I have the following code in a submission form: <script> window.onload=function(){ if (document.getElementById("InsertRecordPalmas").checked) {var new_value = "Palmas";} else {var new_value = "AAA";} document.getElementById("cbParamVirtual1").value=new_value; } </script> This code puts a certain value on Virtual1 (which is a TextBox) depending on whether Palmas Check Box is checked or not. It works perfectly, but it stops working when I turn the Submission Form into a Detail Report. I know is not the "onload" because I tested it without the if statement and it works, so I'm guessing it has to do with the way I'm referencing or calling Palmas Check Box. Does anyone knows why is the if statement behaving differently when the Submission Form is changed to a Detail Report? Thanks!
- 2 replies
-
- detailreport
- detail
-
(and 4 more)
Tagged with: