Hi Niall,Thank you for your help. Unfortunately (maybe even fortunately) this has been descoped from the project I'm working on at the moment. I do intend to return to it at some stage and I'll try your suggestion.Garreth
I have a drop-down list (in a repeatable area) that is populated dynamically with script. This is fine for the first instance but any additional instances appear empty. I am using a repeater grid in the form guide.Can anyone please advise how to get all instances (existing and new) to populate.Tha...
Use a Numberic Field from the object library. On the object pallete/Value tab click the Validation Pattern button. You can specify the format of the number for display etc there. EG. To have a nine digit number with leading zeros you will need the following pattern: num{999999999}Setting the Val...
As Dallas Kuhn said:if (this.rawValue == '' || this.rawValue == null){ xfa.host.messageBox("The client ID field is required.");}The script should be added on the Exit event for the client ID field.Can you post the form and I'll have a look at it?
In JavaScrpt you can use the following:this.mandatory = "error"It should be noted that it is not possible to turn of mandatory fully when in a formguide (if you are planning on using one.) It leaves an asterisks character in the caption.
If you change script language to JavaScript the following can be used:var total;if (kms.rawValue > 1100) { total = 273.00; }else if (kms.rawValue > 700) { total = 223.00; }else if (kms.rawValue > 520) { total = 150.00; }else if (kms.rawValue > 200) { ...