dhodgdon
Posts: 80
|
| Posted: 05/20/2005, 11:14 AM |
|
When there are validation errors displayed for a form, I want to have the page return to the top of the form rather than to the top of the page.
I have tried putting a bookmark at the top of the form but I can't find a way to jump to that bookmark when validation errors are found after clicking on insert or update buttons.
My form is deep into the page because of the grid above it and users are "assuming" that their input has been recorded because the page returns to the top of the page and they don't see the errors displayed at the top of the form.
_________________
Regards,
David Hodgdon
|
 |
 |
Nicole
Posts: 586
|
| Posted: 05/23/2005, 2:01 AM |
|
David,
I found that you can add a bookmar to HTML form Action, but it requires asp code modification, e.g.:
HTMLFormAction = FileName & "?" & CCAddParam(Request.ServerVariables("QUERY_STRING"), "ccsForm", "categories1" & IIf(EditMode, ":Edit", "")) & "#BookMarkName"
_________________
Regards,
Nicole |
 |
 |
dhodgdon
Posts: 80
|
| Posted: 05/23/2005, 6:31 PM |
|
Thanks Nicole,
It works perfect.
_________________
Regards,
David Hodgdon
|
 |
 |
|