Inline fields validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrismcd
    New Member
    • Sep 2006
    • 1

    Inline fields validation

    Hello,
    I am working on an order form, where if a customer enters any of three fields(checbox, size drop-down list, and a quantity textarea), an inline message (hidden textarea) appears. Then, when all the conditions are met, the message disappears. I was able to do this rather easily with FormCalc in another application, but am having real trouble figuring it out for Javascript. Any help would be greatly appreciated. Thanks.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Use a div and show using style.visibilit y = "visible". Validate on key press or onchange. Once the fields validate, hide the div by setting the style.visibilit y property to "hidden".

    Comment

    Working...