angular icon indicating copy to clipboard operation
angular copied to clipboard

Validation does not working in last page in form io wizard

Open satheeshpandian opened this issue 8 years ago • 12 comments

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.

satheeshpandian avatar Aug 01 '18 05:08 satheeshpandian

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

wag110894 avatar Aug 02 '18 18:08 wag110894

attached.txt

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.

satheeshpandian avatar Aug 03 '18 06:08 satheeshpandian

Could you please check and revert if any issues on code to proceed further development.

satheeshpandian avatar Aug 05 '18 15:08 satheeshpandian

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

wag110894 avatar Aug 06 '18 20:08 wag110894

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

satheeshpandian avatar Aug 10 '18 12:08 satheeshpandian

@Formio Team,

We are waiting for your inputs.

satheeshpandian avatar Aug 14 '18 11:08 satheeshpandian

hello @satheeshpandian

Were you able to solve the problem?

keyurmeandev avatar Dec 19 '18 07:12 keyurmeandev

We will add this to our backlog and take a look as soon as we can.

travist avatar Dec 19 '18 15:12 travist

Our 4x renderer should resolve this issue.

jeriah-formio avatar Aug 12 '19 18:08 jeriah-formio

@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 avatar Sep 13 '19 06:09 imshivamchauhan

@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

jeriah-formio avatar Sep 13 '19 20:09 jeriah-formio

Closed due to no activity. This is probably fixed. Please reopen if you still have the issue and provide some example.

roma-formio avatar Aug 31 '23 13:08 roma-formio