ListMailPRO Email Marketing Software Forums
ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: don2 on May 02, 2006, 02:39:37 pm
-
I want some of my fields on my capture page to be required. Is there a way that I can manipulate the HTML code in order to do that?
-
I added your code in Front Page and used Front Page to make the fields I wanted required. Hopefully, that fixed the problem.
-
I gather you did this with JavaScript. Until the next release (changes (http://listmailpro.com/changes.php)), custom fields can only be made 'required' with JavaScript.
Regards
-
I don't know anything about javascript except the script for making a pot of java to start my day. :lol:
When you make changes to the next version please make it to where the
IP address and the opt-in time can be exported.
-
Were you able to make your fields required with FrontPage? I think the only way would be with JavaScript, but then again I don't use FrontPage - maybe they have some ActiveX controls or otherwise.
I can provide some simple code... such as adding this JavaScript "onsubmit" function to your form definition:
<form name="myfrm" method="post" action="http://example.com/listmail/signup.php" onsubmit="if(!myfrm.email.value){ alert('You must enter your email address!'); return false; } if(!myfrm.fname.value){ alert('You must enter your first name!'); return false; }">
When you make changes to the next version please make it to where the
IP address and the opt-in time can be exported.
Thanks for the suggestion - yes the export process is due for an overhaul (I envision it with 'User Selection' rules and additional output options including all fields)
Regards
-
Thanks for your help!