Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File uploads are lost after failing server-side validation #5

Open
benkeen opened this issue Jun 4, 2014 · 1 comment
Open

File uploads are lost after failing server-side validation #5

benkeen opened this issue Jun 4, 2014 · 1 comment
Labels

Comments

@benkeen
Copy link
Member

benkeen commented Jun 4, 2014

This is real nuisance, as noted by Jaace here:
http://forums.formtools.org/showthread.php?tid=608

Hmm... will need to rewire the code to actually upload and log the file reference despite failing validation. This will probably require a custom function in order to make it compatible with all existing validation code. Damn... Or could the ft_api_process_form function handle it somehow...? Probably not...

@benkeen benkeen added the Bug label Jan 6, 2018
@johnbleck3
Copy link

I know it won't be reliable for a while, but on newer browsers, the new javascript window.FileReader object can now check file size and type for cliient side validation. I thought I would just post this and put a "bug" in your ear in case you were interested. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants