1505 Posts in 474 Topics by 460 members
Form Questions
SilverStripe Forums » Form Questions » Default css style for mandatory fields?
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 883 Views |
-
Default css style for mandatory fields?

13 March 2010 at 2:32am
I've created a form with a couple of fields. Three of them are mandatory. So I used
$validator = new RequiredFields('name', 'position', 'message');
to set them as mandatory.
What are the possibilites to display these fields in a different manner (css, using a star (*) within the label, ...)?I'm using Silverstripe 2.3.6.
| 883 Views | ||
|
Page:
1
|
Go to Top |

