You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering how to enable client side validation. I thought I had managed it by adding
'''
->setAttribute('required','true')
'''
to the Field. But this appears to be a new HTML5 validation method and doesn't play with the bootstrap validation styling. Is there a recommended way, or do I need to investigate using something like: https://github.com/redmantech/bootstrap-validate
The text was updated successfully, but these errors were encountered:
Yeah, validation is a little tricky. I usually use exactly what you have there -- setting the "required" attribute, and for backward compatibility, I use RequiredFields(), which offers server-side validation.
On Friday, October 5, 2012 at 5:41 AM, MattyBalaam wrote:
Apologies if I missed this in the screencast, but is the best way to enble client-side validation to add
'''
->setAttribute('required','true')
'''
to the Field?
—
Reply to this email directly or view it on GitHub (#10).
I was wondering how to enable client side validation. I thought I had managed it by adding
'''
->setAttribute('required','true')
'''
to the Field. But this appears to be a new HTML5 validation method and doesn't play with the bootstrap validation styling. Is there a recommended way, or do I need to investigate using something like: https://github.com/redmantech/bootstrap-validate
The text was updated successfully, but these errors were encountered: