SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    May 2006
    Posts
    457
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    button click, validation summary displayed

    Hello all,

    I have a form, that is fairly large. The user must scroll down the page to see the submit button. Because of this, if there are any validation problems, its difficult for the user to see them.

    Is there any way of when the submit button is clicked, that page will jump to the top of the page?

  2. #2
    SitePoint Zealot vb_vs's Avatar
    Join Date
    Sep 2006
    Location
    Melbourne
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try to use on-click client
    a software developer

  3. #3
    SitePoint Wizard
    Join Date
    Feb 2007
    Posts
    1,274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or use the onsubmit of the form to jump to the top of the page (if the validation is client-side, otherwise simple set MaintainScrollPosition="false")

    But consider throwing in a ValidationSummary just above the submit button instead.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •