Skip to content

Conversation

@Zaylril
Copy link

@Zaylril Zaylril commented Dec 14, 2012

I was doing a project where I needed multi-tiered required fields. So "red" was for primary then I made more classes for "secondary / tertiary" etc. So that when the whole form was validated, the "required" alerts were all different depending on the class defined in the "data-required-class" attribute. Thought
it might be useful to others as well.

Also added in support for prettySelect.

…or prompt class.

I was doing a project where I needed multi-tiered required fields. So "red" was for primary then make more classes for "secondary / tertiary" etc. So that
when the whole form was validated, the "required" alerts were all different depending on the class defined in the "data-required-class" attribute. Thought
it might be useful to others as well. Also added in support for prettySelect.
posabsolute added a commit that referenced this pull request Jan 4, 2013
Custom Prompt class based on the HTML5  "data-required-class" attribute.
@posabsolute posabsolute merged commit b717f3e into posabsolute:master Jan 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants