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.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Forms: set classes to input fields as well




10 October 2007 at 12:49am Community Member, 501 Posts

When generating special form fields like numericfield, I see that the css-class of 'numeric' and required' is only applied to the surrounding div.

It would be better to include the class on the input field as well, just like there is a class of text.

I don't understand why this was left out.

Another weird issue is that with passwordfields, 'extraClass' is not set to the inputfield like with the other fields... forgotten?