SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jan 2005
    Location
    Paris
    Posts
    370
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ajax Form Validation

    Hello i have a little problem with a form that i need to submit and validate using ajax. The form is displyaed in modal dialog box using the Jquery Ui dialog plugin.

    currently when i click on submit the form it closes the window.

    What i want is to submit the form in ajax, to have validation of the form without closing the window and then if there is an error on one or more field the message is displayed on the window...

    does anybody have a solution on how to do that?
    On a PHP/Java/XML/Javascript/MySQL internship right now!

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,687
    Mentioned
    100 Post(s)
    Tagged
    4 Thread(s)
    This should help:
    Using Ajax to Validate Forms
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •