SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Threaded View

  1. #1
    SitePoint Zealot litmania_com's Avatar
    Join Date
    Feb 2001
    0 Post(s)
    0 Thread(s)

    Need to merge two sign-up forms together

    I have an ezine with two different editions, a European and North American. I've decided to merge the two forms into one to simplify the sign-up procedure. However, I can't get the thing working

    Here is the code for the two seperate forms, which was created automatically by the excellent Max-eMail. I've tried to merge them with a radio button like:
    <input type=radio name="lists[15]" value="1LitNorthAmerica" CHECKED> North American Edition
    <input type=radio name="lists[14]"  value="1LitEurope">European Edition
    but the values in [] are different for the countries, sex, etc. (For some reason the "[14]" and "[15]" stop the radio-button working - can't select between the two)

    Could anybody be so kind as to help me merge the two forms together?

    Here's the code (I haven't listed all the world's countries in the drop-down box to save space):

    European form:
    <form action=""> 
    Name: <input type="text" name="name" value="Your Name"> 
    Email: <input type="text" name="email" value="">
    Sex:<BR><input value="Male" name="exfields[10]" type=radio name=demo>Male
    <BR><input value="Female" name="exfields[10]" type=radio name=demo>Female
    <P>Country: <select name="exfields[11]"><option value="Select Country">Select Country
    <option>Afghanistan<option >Albania<option >Algeria</select>
    <font size=1 color=red> *required</font>
    <P><input type=hidden name=list value="1LitEurope"><br> <input type="submit" name="submit" value="Join Now!"> </form>
    North American form:
    <form action=""> 
    Name: <input type="text" name="name" value=""> <br> 
    Email: <input type="text" name="email" value="">
    <input value="Male" name="exfields[9]" type=radio name=demo>Male
    <BR><input value="Female" name="exfields[9]" type=radio name=demo>Female<P>
    Country: <select name="exfields[8]"><option value="Select Country">
    Select Country</option>
    <option >Afghanistan</option><option >Albania </option><option>Algeria </option>
    <P><input type=hidden name=list value="1LitNorthAmerica"><br> 
    <input type="submit" name="submit" value="Join Now!"> </form>
    Thank you in advance for your help
    Last edited by litmania_com; Aug 23, 2001 at 17:58.
    Nadeem Azam Inc.

    Free promotion - check out this 1:1 banner exchange
    Dot com domains - the world's most prestigious domain names for sale


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts