Forums

File Upload values lost on failed capcha

john.murray 20 Aug, 2015
On a form with multiple file upload fields - we are retaining text field values on a failed capcha but not file field values. any ideas?
GreyHead 20 Aug, 2015
1 Likes
Hi john.murray,

It isn't possible* to re-load them. The entries are local paths on the user's computer - they aren't uploaded so can't be restored. Only the file name is available - and that probably hasn't been passed on the ChronoForms as the Files Upload action hasn't run.

The safest solution is to use a two page form, put the Captcha on the first page with some basic inputs then add the file uploads on a second page once you have confirmed the user is OK.

Bob

* Not strictly true in HTML5 but ChronoForms and many older browsers don't support the functionality.
This topic is locked and no more replies can be posted.