February 24, 201015 yr Newbies Hi all, I have a button that currently goes to a new record. I would like to add a script that will warn the user if one of the fields is empty. On another layout this field needs to remain empty so I don't want to require the field to have an entry. I hope that makes sense. Thanks in advance
February 24, 201015 yr By "goes to new record" do you mean create a new record or go to another record? Script your button [pseudo code] If [not IsEmpty(particularField) ] Show custom dialog [particularField is not empty] Exit script Else ?? Goto chosen layout/record [or create new record]?? Or you could clear particularField before going to the new record/creating new record: If [not IsEmpty(particularField) ] Show custom dialog [particularField is not empty] Set field [particularField; ""] ?? Goto chosen layout/record [or create new record]??
Create an account or sign in to comment