I have built a form where contains various of fields and attachments.
Why after of a wrong input(validation error) the attachments files are gone and need to resubmitted them?
Any solution to avoid this?
What version are you using? It seems that you are using some older version - the file uplaoder control there is pretty old so it clears its value on postback. The colution is creating a custom form control and use AJAX or HTML5 uploaders.
I am using Kentico 11,
How can I use HTML5 uploaders?
You can create your custom form control and use the code you want. There are several articles, packages and code samples available on this topic on the Internet.
Thanks, any example of ajax code?
Please, sign in to be able to submit a new answer.