Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

idrewuk

macrumors regular
Original poster
Aug 15, 2008
219
135
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>
 
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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.