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 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    2
    Member #
    29791
    By default only PayPal Buy Now buttons can have custom textbox. I want a textbox so I can get the E-Mails of the people who donate.

    Here's an example of a PayPal Donation button with a textbox.
    http://ybgames.org/donate.php

    Thank you very much. I'm very new to web design.

  2.  

  3. #2
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    Dead link. have you resolved this issue?
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>

  4. #3
    Member
    Join Date
    Nov 2011
    Posts
    50
    Member #
    30017
    Liked
    9 times
    Uhm put the below code in, though I'm not sure how you are going to do this, without having something specific, maybe like have a donate button that is gray with a AJAX email box that sends there email that shows the amount to donate from paypal?

    Something like

    HTML
    Code:
    <a href="#" id="donate">Donate!</a>
    <form id="getemail" action="" method="post">
    <p>
     <label for="email">Email</label><input type="text" name="email" value="" id="email">
    </p>
    <input type="submit" value="submit" id="submit"> <!-- have this ajax -->
    </form>
    <form id="amount" action="paypal" method="post">
     <p>
     <label for="donateamount">Amount</label><input type="text" name="donateamount" value="" id="donateamount">
    </form>
    jQuery
    Code:
    $(document).ready(function(){
     $('#amount').hide();
     $('#donate').css('background-color', 'gray');
    });
    $('#submit').click(function(){
     //jQuery AJAX code to make it work, i dont feel like making it work :)
     $('#donate').css('background-color', 'green');
    });
    Code:
    <p>
     <label for="email">Email</label><input type="text" name="email" value="" id="email>
    </p>
    Something like that should work or at least get you in the right direction

  5. #4
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Wouldn't you automatically have their email since they're using PayPal?
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


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 06:46 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com