After some frustrating time I finally was able to get scripting to work on this last part of my form. I wanted a radio button (stand alone) and a text box. If the radio button was clicked, then the text box was no longer required. If the radio button was not clicked then the text box was required in order to submit.
Here is the coding I am using (all java script):
In the exit line of the PhotoOnlyEngraving field is:
Engraving.validate.nullTest = "disabled";
In the presubmit line of the Engraving field is:
if (PhotoOnlyEngraving.rawValue == null || PhotoOnlyEngraving.rawValue == "")
app.alert("Please include details required for Engraving");
Works great (accept the alert message) until you enable rights with the form. Then it ignores the script and forces you to add text in the engraving field when you have already clicked the PhotoOnly field. This is the only item that seems to be disabled in all the java script.
Any help with this would be great! I'm really stuck trying to finish a form that is now 4 days past due.