Help with some HTML/Mailing List code...?

Discussion in 'Community Discussion' started by idrewuk, Jan 16, 2011.

  1. idrewuk macrumors member

    idrewuk

    Joined:
    Aug 15, 2008
    #1
    Hi all,

    I'm using a pre-installed script on my website which collects email addresses to a mailing list.

    The HTML code they provide to use on my site includes two radio buttons (one to subscribe and one to unsubscribe), the email box and a submit button.

    What I want to do is remove both radio buttons and have just an email box and submit button, meaning that anybody using the form would be subscribing (ie, not given a choice with those two radio buttons).

    Is it possible to do using just the code?

    Code:
    <center>
    <form action='http://hosting.heartinternet.co.uk/list.cgi' method='post'>
    <input type='hidden' name='list' value='Launch Preview'/>
    <input type='hidden' name='redirect-success' value='http://www.explainyourself.co.uk/complete.html'/>
    <b>Our Mailing List</b><br/>
    <input type='text' name='email'/><br/>
    <input class='radio' type='radio' name='action' value='add' checked='checked'/>Subscribe
    <input class='radio' type='radio' name='action' value='delete'/>Unsubscribe<br/>
    <input type='submit' value='Do it Now!'/>
    </form>
    </center>
     
  2. yg17 macrumors G5

    yg17

    Joined:
    Aug 1, 2004
    Location:
    St. Louis, MO
    #2
    Code:
    <center>
    <form action='http://hosting.heartinternet.co.uk/list.cgi' method='post'>
    <input type='hidden' name='list' value='Launch Preview'/>
    <input type='hidden' name='redirect-success' value='http://www.explainyourself.co.uk/complete.html'/>
    <b>Our Mailing List</b><br/>
    <input type='text' name='email'/><br/>
    <input type='hidden' name='action' value='add' />
    <input type='submit' value='Do it Now!'/>
    </form>
    </center>
    I certainly hope you're going to give them the option of unsubscribing somehow.
     
  3. idrewuk thread starter macrumors member

    idrewuk

    Joined:
    Aug 15, 2008
    #3
    Thanks for that. And yes, the link to unsubscribe will be on every email and the site itself. This is just so I don't have an ugly form.
     

Share This Page