Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old March 17th, 2005, 10:35 PM
motivesounds motivesounds is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Carlisle, Cumbria
Posts: 3 motivesounds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to motivesounds
mailing list....please help

I posted in the PHP forum but was told this is a better place???
so here goes...

hello,
i know basically, nothing about PHP so have done amazing to get this far...i think.
i have been looking through some posts on here but it dosent make much sense to me. i copied some code and got it workng, but not how i would like it to.
I am with unitedhosting.co.uk and have their bronze hosting package. With that packaging I get PHP list, and already i am confused.

the page can be visited at http://www.motivesounds.com/test2.htm

and this is the code from that page
////////////////////////

<script language="Javascript" type="text/javascript">
var fieldstocheck = new Array();
fieldnames = new Array();
function checkform() {
for (i=0;i<fieldstocheck.length;i++) {
if (eval("document.subscribeform.elements['"+fieldstocheck[i]+"'].value") == "") {
alert("Please enter your "+fieldnames[i]);
eval("document.subscribeform.elements['"+fieldstocheck[i]+"'].focus()");
return false;
}
}
return true;
}
function addFieldToCheck(value,name) {
fieldstocheck[fieldstocheck.length] = value;
fieldnames[fieldnames.length] = name;
}
</script>
<form method="post" action="http://www.motivesounds.com/phplist/lists/?p=subscribe" name="subscribeform">
<font size="2" face="Arial, Helvetica, sans-serif">Email:
<input type="text" name="email" value = "">
<br>
<br>
Name:</font>
<input type="text" name="attribute2" value = "">
<script language="Javascript" type="text/javascript">addFieldToCheck("attribute2","Name");</script>
<input type="hidden" name="list[1]" value="signup" />
<br>
<input type="submit" name="subscribe" value="Subscribe" onClick="return checkform();">
<script language="Javascript" type="text/javascript">addFieldToCheck("email","Email Address");</script>
</form>

///////////////////////



1))) what i want to do is get rid of the name field. i tried to delete the following line but it stopped working.

///////////////////////
<script language="Javascript" type="text/javascript">addFieldToCheck("attribute2","Name");</script>
//////////////////////


2))) i do not like the page it takes you to after you subscribe, is there anyway of once the user has clicked subscribe they are taken back to my main page; www.motivesounds.com

3))) is there any way that the user can just be put straight onto my mailinglist without having to wait for a mail with an activation link, then click that link, then get another mail welcoming them?
i am guessing there is a big risk that activation email might be sent to the junk email inbox and therefore i lose a potential customer to my record label.

4))) thank you so much in advance

cheers
mark
drunkenmind@hotmail.com

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > mailing list....please help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway