Newbies tallengnr Posted July 29, 2001 Newbies Posted July 29, 2001 Not sure if this topic belongs here or in the scripting area, but here goes. Background: I have a field that requires validation. When a user clicks on a button to enter a "New Record" I give them a message to continue or cancel, if they continue I issue a New Record script step. Note: these users cannot perform "deletes" of records. Question: Now they are in the input screen, but what if they want to cancel without putting in a new record? I tried putting in a "Cancel" button that turns on Set Error Capture and then capturing "509". I thought if I captured it and then redirected them to another screen it would work, but it doesn't. It still is performing validation rules. This must be a common thing to do and I just cannot find a way to do it. Any suggestions? TIA, Craig
LiveOak Posted July 30, 2001 Posted July 30, 2001 Once the "New Record" script step has been executed, a record has already be created. If you wish to validate BEFORE a record is created, you need to create duplicates of your entry fields as global field. Allow the user to enter into the global fields. When the user hits the "enter" button, validate the entries in the global fields, if ok, create a new records and copy the global fields to the real fields. If the user hits "cancel" just clear the global fields. -bd
Recommended Posts
This topic is 8624 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