hey. im trying to achive somthing like that:
http://www.amir.cx/test10.php 

explain: 
what i have till now is that page:

http://www.amir.cx/test5.php
(try to submit)

its prints out per row 1 error each time, for example: if telephone field
having two errors its shows one at time, i.e: if the telephone field has
invaild area code and telephone number, its shows first the error 
"error: invalid telephone country code! " and after "invaild telephone
number"


the problem is that i cannot set a error class or id per field, and do a
specipic css sytles for each div
so i cannot place correct error div for two fields in one row...

in the past ive asked this quesiton and jorn wrote me 
"As IE6 doesn't support CSS attribut selectors, you've got to mix JS with 
CSS: 
jQuery("[EMAIL PROTECTED]").addClass("special"); 
Now in CSS: 
label.special { postion : left 1px... color:red } 
"

the problem is that its not possible cause the error label generated only
AFTER i click submit so its cannot use the addclass method.



hope ive explained myself ok cause english is not my primary language ;)

anyone can help me out? im trying about 4 days to dig it without any idea.

-- 
View this message in context: 
http://www.nabble.com/need-help-with-validation-plugin-and-putting-two-input-fields-in-1-row...-tf3582789s15494.html#a10011387
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to