I have a File Field Textbox which allows a user to attach a file. Once they have attached the file, I would like to clear the File Field Textbox. I have tried, empty, null, and " ".
Something like this.
[tt]
'above statement for reading the info & attaching
document.forms('formname').elements('textfieldname').value=empty
[/tt]
regards - tsuji
I see. If that is type="file" input "field", not exactly a textbox, then use reset on the form.
[tt]
'above statement for reading the info & attaching
[blue]'read all the form fields value except "file" field
'and save it in variables[/blue]
document.forms('formname').reset
[blue]'restore the values of fields you want to restore[/blue]
[/tt]
- tsuji
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.