Y
YoBro
Hi,
Is this possible, if so how would you go about it.
I have a reasonably large form that includes 6 file input fields.
I wanted to create an option to allow the user to reset only the file input
fields. Currently if they select an image to upload and realise it is the
wrong one there is no way of resetting it. Except of course, manually
deleting the text out of the field.
Because you cannot reference and change the value of a file input, I cannot
set the value to "".
Is there any other way to add a rest button but specify the fields that you
want to reset. I do not want to rest the entire form.
Many thanks.
YoBro
Is this possible, if so how would you go about it.
I have a reasonably large form that includes 6 file input fields.
I wanted to create an option to allow the user to reset only the file input
fields. Currently if they select an image to upload and realise it is the
wrong one there is no way of resetting it. Except of course, manually
deleting the text out of the field.
Because you cannot reference and change the value of a file input, I cannot
set the value to "".
Is there any other way to add a rest button but specify the fields that you
want to reset. I do not want to rest the entire form.
Many thanks.
YoBro