If Limbo1, Limbo2 etc are in the same dropdown and you want them to do the same thing then just add them to if statement:if(this.rawValue == "Limbo" || this.rawValue == "Limbo 1" || this.rawValue == "Limbo 2")
It is probably best to use a numeric field rather than a text field if you only want numbers but either way you can put in the exit event of the field (in formcalc):if ($ < 3) thenxfa.host.messageBox("The value cannot be less than 3")$ = ""endif
Can I suggest trying the code the other way around. So in the masterpage footer put something like (in formcalc):if (Page1.title.isnull == 0) then$ = Page1.titleelse $ = ""endif- obviously changing the name of Page1.title to whatever your field is called. You can put that in the layoutReady event of...
in the exit event of the dropdown put something like (in formcalc):if ($.rawValue == 1) thenphoneNumber = "12345566"email = "blah@email.com"elseif ($.rawValue == 2) thenphoneNumber = "67890"email = "blah2@email.com"endif(make sure you have the "specify item values' box ticked for the dropdown list i...
Just put the script into the calculate field of level instead:if (tpe > 1000 and tpe <= 1985) then$ = "I"elseif (tpe > 850 and tpe <= 1000) then$ = "II"elseif (tpe > 550 and tpe <= 850) then$ = "III"elseif (tpe <= 550) then$ = "IV"else $ = ""endifAlso just having a look at your form - for next time...
in formcalc:if ((section3a.CheckBox1 == 0 and section3a.CheckBox2 == 0 and section3a.CheckBox3 == 0 and section3a.CheckBox4 == 0 and section3a.CheckBox5 == 0 and section3a.TextField1.isNull) or (section3b.TextField2.isNull and section3b.DropDownList1.isNull) or section3c.TextField3.isNull or section...