create form with paypal button

3 replies
I've had a basic form with multiple text boxes and a paypal button. I have standard PayPal where buyers pay on Paypal site. I have an issue with my form. How can I create a dropdown list with required fields?

For example text fields are make, model and year.
How can I create a form where if someone types in specific year, like1999, it will take them to a different page on my site, instead of PayPal. For example, all make, model and most years are the same price, with a few exceptions. What are my options? thanks
#button #create #form #order form #paypal
  • Profile picture of the author Jake Draper
    hmm, no help. I can't seem to find my answer anywhere. Maybe I'll try a developers forum.
    Signature

    {{ DiscussionBoard.errors[6926951].message }}
  • Profile picture of the author FirstSocialApps
    Jake,

    Your question is not specific enough to answer. People would need to see your form etc. In general though you could do something like this.

    Have the form point to a php script (perhaps call it redirect.php)
    Have that script get the input of the drop down in the form then redirect as is proper.
    {{ DiscussionBoard.errors[6927466].message }}
  • Profile picture of the author petebolduc
    Originally Posted by Jake Draper View Post

    I've had a basic form with multiple text boxes and a paypal button. I have standard PayPal where buyers pay on Paypal site. I have an issue with my form. How can I create a dropdown list with required fields?

    For example text fields are make, model and year.
    How can I create a form where if someone types in specific year, like1999, it will take them to a different page on my site, instead of PayPal. For example, all make, model and most years are the same price, with a few exceptions. What are my options? thanks
    As firstsocial stated your information is vague, however, you could use an onchange jquery which can identify what they type and on your action page use if statements to send them where you want them to go.

    On a recent script I used this process to identify what paypal button to bring into the page.

    For a more precise explanation... pm me.

    Pete
    {{ DiscussionBoard.errors[6929536].message }}

Trending Topics