tomp Posted March 4, 2005 Posted March 4, 2005 I have a layout with several fields that have validation without user override capability. A 'Proceed' button takes the user to the next operation. When a user enters a value into one of the validated fields, but does not tab out, validation does not take place until the 'Proceed' button is hit. So the first step in the 'Proceed' script is a 'go to next field' step which generally causes validation. I set error capture to 'on'. If the field value is invalid an error is detected and I exit the script with an appropriate message. That works in almost all cases. BUT -- For those fields, I use a pop-up list with valid values for the user to select from, but some users think they can put anything into the field. The problem comes when they select one of the values from the drop down list and edit that value without tabbing out. The 'go to next field' in the 'Proceed' script does nothing and the error is not detected until some later step (a 'Perform script' step) and then there is no way to capture the error gracefully. If they have blanked the field and entered a non-valid value, that error can be captured. It's only when they edit one of the valid values, creating an invalid value, then don't tab out before 'Proceed'ing that the problem occurs. I have found no script step that I can use to capture this error. Can anyone help?? TIA
transpower Posted March 4, 2005 Posted March 4, 2005 Don't allow the user to override the data from the valuelist. The error will be trapped immediately. Choose "Always Validate." In your script, the first line should be "Commit Records."
Leader Posted March 5, 2005 Posted March 5, 2005 I agree with Trans. On the one hand, your layout employs strict value checking, but the value lists are at variance because apparently they allow editting. My addition to this is that I've found it drop-down (as opposed to pop-up) menus discourage users from attempting to enter unwanted data.
Recommended Posts
This topic is 7206 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