Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

UserForms - minimum character setting, css formatting and upload limit


Go to End


1842 Views

Avatar
qlex

Community Member, 68 Posts

7 December 2010 at 4:44am

Hi, im using UserForms 0.3 and have three problems:

1) I noticed that the minimum character setting doesn't work. I can limit to 10characters max and this works, but if i limit from 5characters min, it doesnt work.

2) When i choose a field to be mandatory and provide a custom error message, can i style it? I noticed that this element is called spam class"message required", but adding .message required to css didnt allow me to set text to red for example

3) Is there a way to add an "Upload a file" field and limit the attachment size to 1Mb ?

Regards,
Qlex