-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootsrap Form #38
Comments
What version of SilverStripe are you using? If you are using SilverStripe 4 make sure you are using the latest from master or 2.0.0-alpha2. If you are using SilverStripe 3 make sure you are using 1.0.0 or the latest from 1.0.x. Also is the error message simply blank? It's also possible if bootstrap is intercepting the submission process for the form you may need to trigger the recaptcha api manually. |
Also note the validation error message will only show after submission to the server as validation is done server side. It will not show up prior to that. |
Guess this note will be helpful. If u have custom validator class u will need to check every field manually, ex:
but if u will extend SilverStripe\Forms\RequiredFields it will work ok:
bootstrap form module + norecaptcha works ok without custom validation. |
When using a bootstrap form module and using norecaptcha. Validation Error wont show up.
see nocaptcha/lang/en.yml
`
en:
NocaptchaField:
`
The text was updated successfully, but these errors were encountered: