Webmastersite.net
Register Log In

required field style
suggestion

Comments on required field style

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Aug 13, 2006 - 2:55 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 15, 2006 - 4:31 PM:

Done for 4.0.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.