I'm not sure if this is an HTML issue or CampaignMonitor.
I have a simple subscribe form on my website requesting only First Name and email address. I'm noticing that the First Name is not passed through to the First Name field in Campaign Monitor.
I see in Dreamweaver that the First Name field is set to be a required field, but when I look in my manage subscribers list in CM, there is no first name present.
When I do a test adding myself and leave the First Name field blank, it gives me the error that it needs to be filled.
How/why are they getting through with an empty First Name field?
Is your form hosted somewhere that we can take a look at? If so can you post the URL? We'd need to see the code in order to see what's going on.
Hi Diana, thanks for your reply! Here's the code from the form (somenumbers my edit):
<form action="http://mysite.cmail1.com/s/258635/" method="post" onsubmit="MM_validateForm('somenumbers','','RisEmail','FirstName1','','R');return document.MM_returnValue">
<label for="somenumbers">Email Address:</label>
<input type="text" name="Email" id="somenumbers" />
<input type="text" name="FirstName" id="FirstName1" />
<input type="hidden" name="cm-f-175706" id="source" value="subscribed on my website" />
<input type="submit" value="Subscribe" />
It looks like you might have changed the names of your fields there, which would be the first thing to check. Also, the required field script is something from Dreamweaver, and without seeing the whole page and script together, it is hard to know what is happening.
If you can contact support and let us know where we can see the page itself, we can take a look for you.
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.Get started for free