Hi everyone,
Just playing with Formit for the first time.
One thing I hate about websites is when a form being filled in fails (perhaps due to not filling something in) and then it wipes all or some of the data. So I’d like to solve this problem!
But I am validating a form, and say I forget to fill in ’surname’. The attachment field, which was filled in successfully, is now blank and needs to be done again.
Can I carry this across after a failed validation so that it doesn’t need to be filled in again?
I’m on Revo 2.1, with the latest formit via the package system.
Thanks
Should have included my form code:
<input id="cv-file" type="file" name="cv-file" value="[[!+fi.cv-file]]" />
That just goes blank every time - whereas the other fields remember their state.
Thanks.
Keep on replying to my own topic... sorry, not bumping just finding more info.
It seems I’m not getting attachments via email either - and my form is set to multipart/form-data.
So I wonder if this is a bigger problem....