Newbies gadgetgirlfriday Posted February 24, 2010 Newbies Posted February 24, 2010 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
efen Posted February 24, 2010 Posted February 24, 2010 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]??
Newbies gadgetgirlfriday Posted February 25, 2010 Author Newbies Posted February 25, 2010 Thanks! That works great. Cheers
Recommended Posts
This topic is 5455 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now