SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need javascript advice...

    Hi everyone,

    The best way I can put it...

    My form...
    <form name=myForm onsubmit="return validate_form(this)"
    action=http://www.aweber.com/scripts/addlead.pl
    method=post><input type=hidden value=00000000
    name=meta_web_form_id></input> <input type=hidden
    name=meta_split_id></input> <input type=hidden
    value=your-cd-request name=unit></input> <input type=hidden
    value=http://www.test.com
    name=redirect></input> <input type=hidden value=index
    name=meta_adtracking></input> <input type=hidden value=1
    name=meta_message> </input><input type=hidden
    value=firstname,lastname,address,city,state,zip,country,phone,from
    name=meta_required></input> <input type=hidden value=0
    name=meta_forward_vars></input> <input type=hidden name=name> </input>

    -----------------------------------------------------------------------
    What I want to do is when someone puts in their country, other than USA, then they are redirected to my other list in aweber. The list I used here is 00000, value=your-cd-request but let's say the other list i want to send it to 111111, value=int-cd-request. How would I use javascript to redirect people from other countries to my international list?

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Search google using the keywords draggable tabs

    The first result, from nodetraveller.com, looks like just the thing.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

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