The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
RSV html-display - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: RSV html-display (/showthread.php?tid=90) |
RSV html-display - fyrftr72 - Mar 27th, 2009 I have implemented the RSV validation script. Code: rsv.displayType = "display-html"; Placed the empty div: <div id="rsvErrors"></div> where I want it. I then embedded the CSS on the form page. Code: .errorField { Thanks for your help, Gene RE: RSV html-display - Ben - Mar 30th, 2009 Hey Gene, Ah - the rsv.errorFieldClass setting is an optional CSS class that it assigns to fields that fail the validation - not to the error messages that are inserted into the page. To do that, just add the class to the main rsvErrors element, like so: Code: <div id="rsvErrors" class="errorField"></div> You may want to also add a style="display:none" attribute to it. RSV will automatically display if it's hidden. Any help? RE: RSV html-display - fyrftr72 - Mar 30th, 2009 (Mar 30th, 2009, 10:41 AM)Ben Wrote: Hey Gene, Thanks for the reply Ben. It's all working good now! |