Simmilar as the feature of the '{INCOMPLETE}' function that's includding the '.incomplete' class after link submittion on required but not filled fields,
would it be possible to have a '.required' class in order format the input required fields previous a link submission ?
Comments on required field style
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
Simmilar as the feature of the '{INCOMPLETE}' function that's includding the '.incomplete' class after link submittion on required but not filled fields,
would it be possible to have a '.required' class in order format the input required fields previous a link submission ?
I'm thinking on adding on each input field a:
<?php if (eregi( "thislinkinputfield" , '{REQUIREDLINKS}' )) { ?> class="required" <?php } ?>
but it would be more elegant just to have a .required class to edit but not each input field if possible.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Done for 4.0.