Jump to content

Submit a form without the submit button


ainoy31

Recommended Posts

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.

Link to comment
Share on other sites

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" 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.