Author Topic: How do I make certain fields required on my capture page?  (Read 1935 times)

don2

  • Posts: 14
    • View Profile
How do I make certain fields required on my capture page?
« 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?

don2

  • Posts: 14
    • View Profile
I think I fixed the problem.
« Reply #1 on: May 03, 2006, 02:17:17 am »
I added your code in Front Page and used Front Page to make the fields I wanted required. Hopefully, that fixed the problem.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
How do I make certain fields required on my capture page?
« Reply #2 on: May 03, 2006, 09:10:17 am »
I gather you did this with JavaScript.  Until the next release (changes), custom fields can only be made 'required' with JavaScript.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

don2

  • Posts: 14
    • View Profile
How do I make certain fields required on my capture page?
« Reply #3 on: May 03, 2006, 12:18:23 pm »
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.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
How do I make certain fields required on my capture page?
« Reply #4 on: May 04, 2006, 10:37:37 am »
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:
Code: [Select]
<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; }">
Quote
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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

don2

  • Posts: 14
    • View Profile
Yes, I was able to make some fields required in Front Page
« Reply #5 on: May 04, 2006, 04:28:51 pm »
Thanks for your help!