1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How Can I Auto Fill Parts Of A HTML Form For Referrals

Discussion in 'Affiliate Programs' started by simplybebop, Nov 26, 2008.

  1. simplybebop

    simplybebop Regular Member

    Joined:
    Oct 24, 2008
    Messages:
    371
    Likes Received:
    177
    Location:
    Greesnboro, NC
    Okay here is the deal. I just got hired to do some IT work for a company. They give all employees the chance to refer people to the data entry department. For every person who sends a application and puts me down as their referral, they pay us $300 bucks when they start work. And they have 600 data entry positions to fill.

    I know how I can iframe the whole process to one of my websites. But how can I MAKE SURE they put me as their referral?

    Is there some sort of auto fill that I can use?


    Thanks for any help

    Bebop
     
  2. Uncle Kracker

    Uncle Kracker Registered Member

    Joined:
    Sep 15, 2008
    Messages:
    89
    Likes Received:
    184
    Location:
    Detroit
    Here is the basic idea of pre-populating a form and most forms are pretty much the same with the exception of having to use your companies site path info. The fields shown in boldface are the pre-population fields. Give it a NAME and enter your referral id as the VALUE.

    <FORM ACTION="http://www.yoursite path.com" METHOD="POST">
    <INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
    <INPUT TYPE="hidden" NAME="business" VALUE="recipient@paypal.com">
    <INPUT TYPE="hidden" NAME="undefined_quantity" VALUE="1">
    <INPUT TYPE="hidden" NAME="item_name" VALUE="hat">
    <INPUT TYPE="hidden" NAME="item_number" VALUE="123">
    <INPUT TYPE="hidden" NAME="amount" VALUE="15.00">
    <INPUT TYPE="hidden" NAME="shipping" VALUE="1.00">
    <INPUT TYPE="hidden" NAME="shipping2" VALUE="0.50">
    <INPUT TYPE="hidden" NAME="currency_code" VALUE="USD">
    <INPUT TYPE="hidden" NAME="first_name" VALUE="John">
    <INPUT TYPE="hidden" NAME="last_name" VALUE="Doe">
    <INPUT TYPE="hidden" NAME="address1" VALUE="9 Elm Street">
    <INPUT TYPE="hidden" NAME="address2" VALUE="Apt 5">
    <INPUT TYPE="hidden" NAME="city" VALUE="Berwyn">
    <INPUT TYPE="hidden" NAME="state" VALUE="PA">
    <INPUT TYPE="hidden" NAME="zip" VALUE="19312">
    <INPUT TYPE="hidden" NAME="lc" VALUE="US">
    <INPUT TYPE="hidden" NAME="email" VALUE="buyer@domain.com">
    <INPUT TYPE="hidden" NAME="night_phone_a" VALUE="610">
    <INPUT TYPE="hidden" NAME="night_phone_b" VALUE="555">
    <INPUT TYPE="hidden" NAME="night_phone_c" VALUE="1234">
    <INPUT TYPE="image" NAME="submit" BORDER="0" SRC="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" ALT="PayPal - The safer, easier way to pay online">
    <img alt="" border="" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif">
    </FORM>
     
    • Thanks Thanks x 1
  3. simplybebop

    simplybebop Regular Member

    Joined:
    Oct 24, 2008
    Messages:
    371
    Likes Received:
    177
    Location:
    Greesnboro, NC
    Thanks Cracker

    .................................
     
    Last edited: Nov 26, 2008
  4. simplybebop

    simplybebop Regular Member

    Joined:
    Oct 24, 2008
    Messages:
    371
    Likes Received:
    177
    Location:
    Greesnboro, NC
    Edit: NVM


    .......................................