Is it possible for check-boxes group to keep its values (selected boxes) when a check fails?

weprde 21 Aug, 2014
Hello,

I am using ChronoForms v4 with Joomla 3.3.

My form has a textbox, a check-boxes group, a file upload, recaptcha and submit/reset buttons.

My event queue is as follows:

1. On Load
1.1 Show recaptcha,
1.2 Show html

2. On Submit
2.1 Check recaptcha
2.1.1 On success,
2.1.2 On Fail
2.1.2.1 Event Loop

3. Handle Arrays

4. Upload Files
4.1 On success,
4.2 On Fail
4.2.1 Event Loop

5. DB Save

6. Email

7. Show Thanks Message

The form works great. But, I have noticed this.
When recaptcha fails all filled in fields textbox, a check-boxes group, a file upload keep their values so the user does not have to fill them again.
But when file upload fails (uploading file format other than specified) the check-boxes group does not keep the values the user choose, while the textbox field keeps it.

Is it possible for check-boxes group to keep its values (selected boxes) when a check fails?
Any ideas to solve this?

Thanks
GreyHead 21 Aug, 2014
Hi weprde,

Please try dragging the Handle Arrays action down after the Upload Files action.

Bob
weprde 26 Aug, 2014
This works!

Thank you Bob.
This topic is locked and no more replies can be posted.