SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [jquery] form validation duplicates

    Hello

    How can I use jquery to validate my form to check for duplicates in my mysql database?

  2. #2
    Non-Member Max Height's Avatar
    Join Date
    Dec 2011
    Posts
    303
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    You can send an ajax request, with or without jquery, from your form to a server side script that then queries the database to see if there are any duplicates.

  3. #3
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I am new to javascript. Can you please be a bit more specific.
    After I have sent an ajax request and a duplicate is detected how do I output that in realtime?

  4. #4
    Non-Member Max Height's Avatar
    Join Date
    Dec 2011
    Posts
    303
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    Youll need a server side script (like PHP, ASP etc) to query the database to check for duplicates and then send the result back to the user's browser. Which server side scripting language will you be using?

    There is a tonne of information on how ajax works on the internet.


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
  •