1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHPList Newsletter Script

Discussion in 'JavaScript' started by tigersoft, Sep 2, 2006.

  1. #1
    Hi,

    I have some problems with phplist. Someone can help me with it? That i want to do is hide to input text emailconfirm <input type=text name=emailconfirm value="" size="40"> and when i press Submit so it will copy the text in email <input type=text name=email value="" size="40"> to emailconfirm and then submit.

    Code:
    <table border=0>
    <tr><td><div class="required">Email</div></td>
    <td class="attributeinput"><input type=text name=email value="" size="40">
    <script language="Javascript" type="text/javascript">addFieldToCheck("email","Email");</script></td></tr>
    <tr><td><div class="required">Confirm email</div></td>
    <td class="attributeinput"><input type=text name=emailconfirm value="" size="40">
    <script language="Javascript" type="text/javascript">addFieldToCheck("emailconfirm","Confirm email");</script></td></tr><tr><td colspan=2>
    <span class="attributeinput"><input type=checkbox name="htmlemail" value="1" /></span>
    <span class="attributename">I prefer to receive emails in HTML format</span></td></tr>
    <tr><td><div class="required">Name</div></td><td class="attributeinput">
    <input type=text name="attribute1" class="attributeinput" size="40" value=""><script language="Javascript" type="text/javascript">addFieldToCheck("attribute1","Name");</script></td></tr>
    </table><input type="hidden" name="list[1]" value="signup"><input type="hidden" name="listname[1]" value="test"/><p><input type=submit name="subscribe" value="Subscribe" onClick="return checkform();">



    Thanks
    TigerSoft
     
    tigersoft, Sep 2, 2006 IP