Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
Like Tree2Likes
  • 1 Post By TheGAME1264
  • 1 Post By TheGAME1264

Thread: Html forms

  1. #1
    Junior Member
    Join Date
    Apr 2015
    Location
    UK on the Welsh border
    Posts
    2
    Member #
    48948

    Html forms

    Can you embed one form action address inside another forma action address. If you can what are the mechanics?
    I have created an html form to capture customer data but would like to embed a paypal button into the page so that I get the address etc and the customer cam pay through pay pal.

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I typically handle this with two forms.

    Form 1: captures all the customer info.
    Form 2: the PayPal form itself, since PayPal has other fields (total, invoice #, etc.) For form 2, I have a Javascript trigger a submission on load so that the customer doesn't have to click the button for the most part.
    pnewby likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Apr 2015
    Location
    UK on the Welsh border
    Posts
    2
    Member #
    48948
    Thanks..so if I understand you correctly, it is ok as long as the forms have different names and different form action addresses. Is this right?

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I mean you have two consecutive forms. The PayPal form doesn't show up until the user successfully completes the first form.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Banned
    Join Date
    Mar 2015
    Posts
    21
    Member #
    48461
    I thank you for sharing this article

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    You're welcome, except that 1) it's not an article and 2) your avatar scares the sh*t out of me.
    Vapr_Arts likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:10 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com