yolop Posted July 21, 2009 Share Posted July 21, 2009 hello I want to send form without clicking on anything (on the button SEND) . when i will run the file i want that the form will be sent how? thank Link to comment https://forums.phpfreaks.com/topic/166866-help-with-send-form-withou-click/ Share on other sites More sharing options...
StefanRSA Posted July 21, 2009 Share Posted July 21, 2009 Link to comment https://forums.phpfreaks.com/topic/166866-help-with-send-form-withou-click/#findComment-879842 Share on other sites More sharing options...
Bendude14 Posted July 22, 2009 Share Posted July 22, 2009 so you want the form to be sent when you hit the page? What are you trying to achieve? Do you intend to get the form data to be sent from the URL using GET? Link to comment https://forums.phpfreaks.com/topic/166866-help-with-send-form-withou-click/#findComment-879979 Share on other sites More sharing options...
jayjay960 Posted July 22, 2009 Share Posted July 22, 2009 Wait, do you want a form to submit as soon as the page loads? You'd need javascript for that: document.getElementById('form id here').submit(); I'm sure there's a much better way of doing what you want to accomplish with redirecting, but you'll have to be more clear about what you're trying to do. Link to comment https://forums.phpfreaks.com/topic/166866-help-with-send-form-withou-click/#findComment-880061 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.