-
Notifications
You must be signed in to change notification settings - Fork 8
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
Validation doesn't work on Submit #17
Comments
Why do you think that is? It's explained in the doc and is intentional.
|
The documentation says on save. I understand Save won't balidate but Submit should? |
'if (isSubmit && !self.formIsValid(vm)) { It does validate on other fields but not this so template? Could you show me which documentation you're referring to? |
Validation occurs on Submit but not Save. This allows users to fill out long forms and save their work in progress. In our organization, sometimes an exec will have a form open the whole day as they deal with interruptions constantly. If using this workflow, you must add a step in your SharePoint workflow that waits until IsSubmitted (boolean Yes/No) is equal to true; then the remaining workflow steps occur. For Knockout components, you must set the option
|
Right, I guess GitHub didn't update my Title. I originally had it as Validation not occuring on Save, but I changed it to Validation not occuring on Submit. When I click submit, it validates on other fields like so-text-field but not so-checkbox-group even adding required attribute. |
Using
<so-checkbox-group params="val: Changes"></so-checkbox-group>
It doesn't validate the check boxes.
The text was updated successfully, but these errors were encountered: