SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Uruguay
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    error msg system

    HI
    I have a system with several forms
    I need to apply a error msg system when validation process ends, this means to show a floating div beside each field that has conflicts. So if 3 fields are wrong, I need to show a div beside each on with some text inside.

    The validation algorithm is finished, but I don't know which could be the better option to create show the divs. I guess somthing dynamic, create divs on the fly and put them beside each field, do you know about any lib that could help me with this?

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    jQuery with the DOM Elements Creator plugin can make the task relatively pain free.

    http://plugins.jquery.com/project/DOMEC
    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
  •