janice
09-05-2003, 11:48 AM
I have a long asp page coded to client's spec.
The problem with this page is to determine that a box is blank, the entire form is usually completed first.
They have found that this is cumbersome and frustrating so they have asked me to put a trigger or an event handler that will prevent a user from leaving some textboxes before data is entered into that text box.
I have several onSubmit() javascript codes but they don't solve the problem because the client is still dealing with having to complete entire form before finding that an error exists.
Can someone give me a link or a help on the code that prevents a user from leaving an input textbox until value is entered into that textbox, please?
Thanks for your assistance in advance.
The problem with this page is to determine that a box is blank, the entire form is usually completed first.
They have found that this is cumbersome and frustrating so they have asked me to put a trigger or an event handler that will prevent a user from leaving some textboxes before data is entered into that text box.
I have several onSubmit() javascript codes but they don't solve the problem because the client is still dealing with having to complete entire form before finding that an error exists.
Can someone give me a link or a help on the code that prevents a user from leaving an input textbox until value is entered into that textbox, please?
Thanks for your assistance in advance.