PDA

View Full Version : Reset the upload field



programmer@blore
17 Oct 2007, 10:10 PM
Hi all,

I am facing a problem in IE.When I try to reset the vaue of file upload field (using setvalues(''))after submit it does not reflect this in IE but in FF it works perfectly fine.








uploadForm.add(
hedit_objFile = new Ext.form.TextField({
allowBlank: true,
id: 'file_path',

inputType: 'file',
name: 'upload_file',
fieldLabel: 'File',
// disableKeyFilter : true,
width:243,
height:22,

blankText: 'Please choose a file'
})
);


and after submit i m using hedit_objFile.setValue('');



Please help meto solve why it is not working in IE and how to overcome this...Thanks in advance

mystix
18 Oct 2007, 5:02 AM
are you reporting a bug? if you are, pls post details as per 8887.

if you need help with using / configuring Ext 1.1.1's Ext.form.Form, pls post in the 1.x Help forum (http://extjs.com/forum/forumdisplay.php?f=5). thanks.