AnsweredAssumed Answered

Script Trigger Validation

Question asked by alinicjones on Jan 24, 2015
Latest reply on Aug 2, 2016 by BruceHerbach

I need to run a script trigger validation on a form. I have a button on the layout that they click if they are ready to make this audit complete. I need the script trigger to check and make sure that all 4 fields are not empty before it will navigate them to another layout to "complete" the audit. The script that I have right now that is not working is:


If (IsEmpty (Question1 and Question2 and Question3 and Question4) )

     Show Custom Dialog

Else If (not IsEmpty (Question1 and Question2 and Question3 and Question4))

     New Window


End If


I can't use the field validation b/c they might come into this layout and exit out of it without answering these questions. The only time they have to have the questions answered is before they mark this audit complete. @


If any of y'all have any ideas on this i would really appreciate it!! Thank you for your time!