Jump to content

Email field and Email confirmation field are default fields on subscription page


gwolff2005

Recommended Posts

Hi guys,

I urgently need your help. I have phplist and try to change the code for a subscribe page. I am trying to generate my own subscription page but the fields email and email confirmation are always already in there, but not!!!! existent and therefore not deletable under attributes. I want to add the Name field on the subscription page but the list order then does not work. The two fields (email and confirmation) are always on the top.

They are not under attributes, but just in the subsribelib2.php file as the following code(s. additional information)

 

If I delete that code and add my own email and confrimation field on the subscrition page phplist tells me "ENTER A VALID EMAIL ADDRESS"

 

How can I either delete THE "PREINSTALLED"??? email and confirmation field, without getting error messages

or

how can I add just the name field but put it on the top of the preinstalled emailfield??

 

Ugently need your help!!!!

Thank you!

 

$html = '';
  if (!isset($_GET['page']) || (isset($_GET['page']) && $_GET["page"] != "import1"))
  $html = sprintf('
  <tr><td><div class="required">%s</div></td>
  <td class="attributeinput"><input type=text name=email value="%s" size="%d">
  <script language="Javascript" type="text/javascript">addFieldToCheck("email","%s");</script></td></tr>',
  $GLOBALS["strEmail"],htmlspecialchars($email),$textlinewidth,$GLOBALS["strEmail"]);

// BPM 12 May 2004 - Begin
if ($emaildoubleentry=='yes')
{
if (!isset($_REQUEST['emailconfirm'])) $_REQUEST['emailconfirm'] = '';
$html .= sprintf('
  <tr><td><div class="required">%s</div></td>
  <td class="attributeinput"><input type=text name=emailconfirm value="%s" size="%d">
  <script language="Javascript" type="text/javascript">addFieldToCheck("emailconfirm","%s");</script></td></tr>',
  $GLOBALS["strConfirmEmail"],htmlspecialchars(stripslashes($_REQUEST["emailconfirm"])),$textlinewidth, $GLOBALS["strConfirmEmail"]);
} 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.