Hey Mark,
Sorry, I've been in the basement trying to finish up a release this week. I
hope you got that figured out, if not here are my quick thoughts. (Also,
sorry for the $j usage in the original, I use jQuery in safe mode at work.)
I would probably set a variable like:
if (containsStar >= 0)
That's awesome! Just what I was looking for.
In addition to that i also want to make the field required, so if they don't
choose an asterix field, it's not required but if they do then i want them
to fill in the additional field.
Not sure how to merge your solution with the jquery Validation code
Mark,
Here's some general sketching to help you along. There are likely
other/better ways to go about this, but this should work out for you.
Where "selectVar" is the id of the select box:
$j("#selectVar").change( function() { // when something is selected run
this
var containsStar = $j("#s
3 matches
Mail list logo