RequiredFieldValidator being in view Dilemma

J

Jim in Arizona

I've built a long form with, oh, around 50 questions divided into
several categories. This in itself is no big deal, but this requires the
user to scroll the webform.

I need every field to be required. I can do this with the required field
validator, I know, but the problem is display. I can put all of the RFV
controls at the bottom of the form by the submit button, that way they
are visible to the user when the click the submit button when they
didn't chose a value from a dropdownlist. The problem there is that it
won't look very neat because the RFV control maintains its position on
the webform, so it could appear three or four lines lower and several
inches to the right of the submit button. If the user forgot a few
choices, the RFV controls would look scattered.

I would like to just put the RFV controls just above each category (that
are associated with the ddl controls in each category). This would work
great but when the user clicks the submit button and they didn't chose a
value, the RFV control may light up but the user wouldn't see it because
they're scrolled down the page. To the user, nothing would happen, which
would be confusing.

How would I go about this? Is there a way to make the page scroll back
up to where the active RFV control that just went active is?

I thought about putting some sort of control or label next to the submit
button that would notify the user that something is amiss and to scroll
up (perhaps to the appropriate category of questions), but that would
most likely require java script from scratch which I know nothing about.

Thanks,
Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top