Validation does not working in last page in form io wizard
While rendering from json(from form io builder) , Validation does not working in last step(page) in wizard and could not able to submit the data to custom submit function.
Hello,
This is William with the Form.io support team.
If you could send us the form embed code to help see what is the issue that would be very helpful.
Please let us know if you have any further questions or concerns.
Thanks, William Gay
Thanks William..
I have tried the form io wizard render using json. But could not submit. All the validations are working fine while clicking next button except submit form button in last page.
Please assist me.
Please find attached file which I have tried.
Could you please check and revert if any issues on code to proceed further development.
Hello again.
William here again with the Form.io support team. Here is a screenshot to show how to find the embed code: https://www.screencast.com/t/N2mc2zvbZEX We have tested this and do not have any issues with validations working on the last page of the wizard. If you could send us the embed code that would be great!
Thanks, William Gay
Thanks William for your support.
As required, created a sample wizard in form.io site and embedded in angular app (Refer code below).
<formio src="https://prtchoieboxsgck.form.io/applicationsample" [submission]="FromioData" (submit)="onSubmit($event)" (change)="onChange($event)">
we are able to proceed within the steps /forms in the wizard. Challenge is only while final submission, the validation error is not getting cleared despite of proper data being provided. While the same is able to submit with back navigation and resubmit with valid data.
Your inputs to resolve the same is highly appreciated
@Formio Team,
We are waiting for your inputs.
hello @satheeshpandian
Were you able to solve the problem?
We will add this to our backlog and take a look as soon as we can.
Our 4x renderer should resolve this issue.
@travist It's still NOT working even in 4.x, actually the CLIENT SIDE Validations are not working, & we are using out submission api, NOT USING formio SERVER api's, so CLIENT SIDE validations are failing to stop it from submission.
if we use formio server api's for submission, it may work fine as seen in your next.form.io portal, because of server side validations. & shows error messages also. But the issue is client side validation should also work as we use custom made submission api. Please look into it.
@imshivamchauhan Thanks for clarification. We have added this issue to our 4x backlog and will prioritize during our planning meeting next Monday. Please note, we welcome pull requests in this library. If you need this item expedited for a quicker resolution, please feel free to contact [email protected] for pricing
Closed due to no activity. This is probably fixed. Please reopen if you still have the issue and provide some example.