Webmastersite.net
Register Log In

required field style

Title required field style
Description suggestion
Message Text 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.
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership peumus
Views 428 views. Averaging 0 views per day.
Similar Topics
Submission Date Aug 13, 2006 - 2:55 AM