Canman2005 Posted June 9, 2009 Share Posted June 9, 2009 Hi I have the following browse file box <input name="field" type="file" class="smlformtext" id="field" size="32" /> is it possible to auto submit a form once a file has been selected? Thanks in advance Dave Quote Link to comment https://forums.phpfreaks.com/topic/161589-submitting-form-after-file-selection/ Share on other sites More sharing options...
Canman2005 Posted June 10, 2009 Author Share Posted June 10, 2009 any ideas anyone? Quote Link to comment https://forums.phpfreaks.com/topic/161589-submitting-form-after-file-selection/#findComment-852842 Share on other sites More sharing options...
Maq Posted June 10, 2009 Share Posted June 10, 2009 Try: Quote Link to comment https://forums.phpfreaks.com/topic/161589-submitting-form-after-file-selection/#findComment-852844 Share on other sites More sharing options...
Canman2005 Posted June 10, 2009 Author Share Posted June 10, 2009 thanks dude Quote Link to comment https://forums.phpfreaks.com/topic/161589-submitting-form-after-file-selection/#findComment-852968 Share on other sites More sharing options...
Maq Posted June 10, 2009 Share Posted June 10, 2009 thanks dude Did that work the way you wanted it to? AFAIK, the only way to do this is client side, which would mean someone could easily bypass this by disable JS. Quote Link to comment https://forums.phpfreaks.com/topic/161589-submitting-form-after-file-selection/#findComment-853021 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.