Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Form Fields Visibility

Reply
Thread Tools

Form Fields Visibility

 
 
C
Guest
Posts: n/a
 
      10-28-2003
Hi,

I have a web form which is quite long.

My first field is required.

If my user submits the form the page just sits there and
the do not see my validation message at the top of my page.

Do you know how I can reposition teh page so they see teh
message i.e.scroll back up the page?

Thanks,
C
 
Reply With Quote
 
 
 
 
Raja Saravanan
Guest
Posts: n/a
 
      10-28-2003
I assume that post back happens in your case, after which the focus still
remains on the button. You should turn off the smart navigation feature in
case of the error.

HTH
Raja

"C" <> wrote in message
news:0bfe01c39d46$a57cb1b0$...
> Hi,
>
> I have a web form which is quite long.
>
> My first field is required.
>
> If my user submits the form the page just sits there and
> the do not see my validation message at the top of my page.
>
> Do you know how I can reposition teh page so they see teh
> message i.e.scroll back up the page?
>
> Thanks,
> C



 
Reply With Quote
 
 
 
 
L. L.
Guest
Posts: n/a
 
      10-28-2003
I think what C meant is the field on the top is required field. And when the
user clicks on the button on the very bottom of the page, the page will not
post back because the required field validator fires up. However, because
the page is so long, the user may not realize the required field on the top
is not filled out.

My suggestion is add a validation summary below the submit button. So when
the user clicks on the button, the validation summary will show all
validation message if there are any fields filled with invalid data.

L.L.

"Raja Saravanan" <> wrote in message
news:...
> I assume that post back happens in your case, after which the focus still
> remains on the button. You should turn off the smart navigation feature in
> case of the error.
>
> HTH
> Raja
>
> "C" <> wrote in message
> news:0bfe01c39d46$a57cb1b0$...
> > Hi,
> >
> > I have a web form which is quite long.
> >
> > My first field is required.
> >
> > If my user submits the form the page just sits there and
> > the do not see my validation message at the top of my page.
> >
> > Do you know how I can reposition teh page so they see teh
> > message i.e.scroll back up the page?
> >
> > Thanks,
> > C

>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      10-28-2003
That is exactly my problem.

Thanks for your reply.
>-----Original Message-----
>I think what C meant is the field on the top is required

field. And when the
>user clicks on the button on the very bottom of the page,

the page will not
>post back because the required field validator fires up.

However, because
>the page is so long, the user may not realize the

required field on the top
>is not filled out.
>
>My suggestion is add a validation summary below the

submit button. So when
>the user clicks on the button, the validation summary

will show all
>validation message if there are any fields filled with

invalid data.
>
>L.L.
>
>"Raja Saravanan" <> wrote in

message
>news:...
>> I assume that post back happens in your case, after

which the focus still
>> remains on the button. You should turn off the smart

navigation feature in
>> case of the error.
>>
>> HTH
>> Raja
>>
>> "C" <> wrote in

message
>> news:0bfe01c39d46$a57cb1b0$...
>> > Hi,
>> >
>> > I have a web form which is quite long.
>> >
>> > My first field is required.
>> >
>> > If my user submits the form the page just sits there

and
>> > the do not see my validation message at the top of my

page.
>> >
>> > Do you know how I can reposition teh page so they see

teh
>> > message i.e.scroll back up the page?
>> >
>> > Thanks,
>> > C

>>
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request.Form to retrieve looped form fields David ASP General 2 09-20-2007 01:33 PM
get all the form fields in a form Mr. SweatyFinger ASP .Net 20 01-31-2007 08:24 AM
Populate form values based on previous same form fields Rizyak Javascript 4 06-11-2004 10:31 PM
Form Validation Problem...Persisiting form fields on validation failure. bnp Javascript 4 05-12-2004 12:16 PM
Form Fields Visibility C ASP General 1 10-28-2003 01:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57