check fileuploadsize before submitting, save forminput with button before submitting

ri rincewind 16 Oct, 2016
Hi, i have 2 questions,
first: Is it possible to insert a button in the form to export the data which is already written there? something like an exel-export or similar. People should be able to save their input before submitting it.
second: can i check the file uploadsize before submitting? after choosing a file for upload it should instantly checked if too big.

thx
Gr GreyHead 17 Oct, 2016
Hi rincewind,

To allow people to save data before submitting I'd suggest that you use a 'Confirmation' page - a second page in the form where the entered data is displayed before final submission. You could add a Print button to that page to allow them to keep a record.

ChronoForms doesn't have any built-in way to check the file-size before uploading. Basically, the browser doesn't have access to that info. HTML5 does allow access to the fie-size data and you can add a validation using code like this StackOverflow answer - but it won't work with older browsers.

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