D
donpro
Hi,
I have several forms that are presented with the field description on
top of either the Text Input or Text Area. I have programmed it so
that when the user clicks "SUBMIT", it verifies that necessary fields
have been populated. If not, it alerts the user and sets focus to the
empty field.
If the form is longer than the screen window (vertical scroll bar), I
have found that the browser will position the screen so the the
missing field with focus is presented at the top of the screen. The
side effect is that the field description, which resides above it, is
not seen.
Is there a trick that will return focus to the empty field and also
adjust the browser view to show the field description above it?
Thanks,
Don
I have several forms that are presented with the field description on
top of either the Text Input or Text Area. I have programmed it so
that when the user clicks "SUBMIT", it verifies that necessary fields
have been populated. If not, it alerts the user and sets focus to the
empty field.
If the form is longer than the screen window (vertical scroll bar), I
have found that the browser will position the screen so the the
missing field with focus is presented at the top of the screen. The
side effect is that the field description, which resides above it, is
not seen.
Is there a trick that will return focus to the empty field and also
adjust the browser view to show the field description above it?
Thanks,
Don