aladiyat23 Posted July 26, 2006 Share Posted July 26, 2006 Hi, I have a form here:www.dmmipromotions.com/uploads/data.phpWhen the upload field is disabled then the form won't send... when it isn't and a file is selected, everything works as expected...Any help? Quote Link to comment https://forums.phpfreaks.com/topic/15696-disabled-upload-field/ Share on other sites More sharing options...
dark dude Posted July 26, 2006 Share Posted July 26, 2006 Why not use "READONLY" instead of "DISABLED"?That might help Quote Link to comment https://forums.phpfreaks.com/topic/15696-disabled-upload-field/#findComment-64063 Share on other sites More sharing options...
aladiyat23 Posted July 26, 2006 Author Share Posted July 26, 2006 I did a little research on using readonly instead... not sure how to do this Quote Link to comment https://forums.phpfreaks.com/topic/15696-disabled-upload-field/#findComment-64076 Share on other sites More sharing options...
dark dude Posted July 26, 2006 Share Posted July 26, 2006 [code]<input name="uploadedfile" type="file" READONLY>[/code]:) That should work Quote Link to comment https://forums.phpfreaks.com/topic/15696-disabled-upload-field/#findComment-64086 Share on other sites More sharing options...
aladiyat23 Posted July 26, 2006 Author Share Posted July 26, 2006 :-* thanks! Quote Link to comment https://forums.phpfreaks.com/topic/15696-disabled-upload-field/#findComment-64089 Share on other sites More sharing options...
aladiyat23 Posted July 26, 2006 Author Share Posted July 26, 2006 AHHh i spoke too soon...the upload field is disabled based on a selection. setting it to readonly didnt change anythingAny more advice?? And thank you very much by the way ;) Quote Link to comment https://forums.phpfreaks.com/topic/15696-disabled-upload-field/#findComment-64096 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.