ainoy31 Posted July 2, 2007 Share Posted July 2, 2007 Is there a way to submit a form without the submit button? Do I have to use the javascript - document.formname.submit(); thx. AM Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 2, 2007 Share Posted July 2, 2007 I think this sort of depends on what your question is. If you are wanting to submit a form when, for example, a value is selected from a dropdown box, then yes, your solution is in javascript. If you are wanting to send form data to another website, perhaps if a certain condition is met, then you should look into the uses of curl and php. Quote Link to comment Share on other sites More sharing options...
ainoy31 Posted July 2, 2007 Author Share Posted July 2, 2007 I am dealing with passing variables via the url to another page. Here is what I am trying to do. I have an order form to fill out. After the submit button is click, the data is suppose to be passed to a certificate page with all the info such as the buyer's first and last name, receiver's email address and so forth. The receiver will get an email with a link to where he or she can click and print out the certificate. The problem is where clicking on the link in the email, nothing is displayed such as buyer's info, dollar amount, order id...etc. Here is how I am passing the info: https://xxx.com/Heal/thankyoutest.php?gift_type&phone&dollar&r_fname&r_lname&receiver&first&last\n" Quote Link to comment 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.