I have several required fields on one document:
1. I have an error message that pops up instructing the user to put in the correct data before moving on....BUT as soon as the user hits OKAY the cursor goes to the next field (also a required field). How do I get the cursor to drop back to the original required field?
2. I have a line of text fields that are not REQUIRED (are hidden) as long as the first is not populated. When the user enters text into the first text field the 4 behind it become visible. Unfortunately, the cursor is still passing those fields up and going to the next visible field after the REQUIRED fields. Is there a way to place the cursor into the new visible field?
I have used setFocus on all of these fields, trying to force them to return to the previous or the next fields (depending on what I am trying to do), but that seems to be ignored completely.
I am setting these jovascript codes in onBlur, on the ACTIONS tab for each field.
If you can help me with either of these, I would be VERY appreciative. I have 26 forms I have work with and I hope, if I can figure out this first one, the rest will work without problems.
I wonder if you're trying to over-control it. Why not just let the required status take effect when the form is submitted, leaving the user free to fill in the form in the order that suits them?
I work with a forms department and the division that wants this done...want it when the information is supposed to be entered. They do not want to "accidently" get forms that are not completed, which is what has been happening.