AJAX and upload field

2005-12-06 Thread Robin Wyles
Hi All, I noticed that if a form contains a file field then AJAX is completely disabled for that form. I've patched my cforms.js so that it disables AJAX only if the file field contains a value. Is this valid? On a more general note would it not be possible to check only the fields which

Re: AJAX and upload field

2005-12-06 Thread Sylvain Wallez
Robin Wyles wrote: Hi All, I noticed that if a form contains a file field then AJAX is completely disabled for that form. I've patched my cforms.js so that it disables AJAX only if the file field contains a value. Is this valid? Yes, definitely. On a more general note would it not be

Re: AJAX and upload field

2005-12-06 Thread Robin Wyles
Sylvain, On 6 Dec 2005, at 12:20, Sylvain Wallez wrote: Robin Wyles wrote: Hi All, I noticed that if a form contains a file field then AJAX is completely disabled for that form. I've patched my cforms.js so that it disables AJAX only if the file field contains a value. Is this valid?

Re: AJAX and upload field

2005-12-06 Thread Robin Wyles
Forgot the patch... cforms-upload.patch Description: Binary data On 6 Dec 2005, at 12:51, Robin Wyles wrote: Sylvain, On 6 Dec 2005, at 12:20, Sylvain Wallez wrote: Robin Wyles wrote: Hi All, I noticed that if a form contains a file field then AJAX is completely disabled for that