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 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? 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: 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 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. 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
Archived
This topic is now archived and is closed to further replies.