| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Modified contact form, error highlighting not working | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
Hi,
The contact form is built with tables, and I rebuilt it using a div structure instead. It looks great, but unfortunately this has somehow disabled error highlighting. :\ I've been looking through the check_required_fields.tpl/js files but can't find anything to help. Can anyone offer some advice?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
|
#2
|
|||||||||
|
|||||||||
|
Required fields are picked up by the class applied to the <td> so if you took it out the js won't work
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
I figured that was at the root of it. Looking through the JS I tried to find the code that located the td/tr tag but couldn't. I expect I can modify the JS to make it work with divs. Any idea where it might be hiding?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||