I want to have a small sign-up box on my site with email address and first name, which forwards the user to the more comprehensive CC form with those fields pre-populated. Through some digging, I found a way to pass in the email address, but can't figure out the first name.
First I went to the sign-up form settings for the form that I want to forward the user to and generated the link to the form. I used that URL for the action page and put in the m, p, sit and f values as hidden form fields. The email address field is named "ea." Submitting that works just fine - the correct form is pulled up and the email address is already populated.
The issue is that I can't figure out what the name of the first name field should be. Figuring that "ea" probably stood for "email address," I tried "fn" for "first name". Nope, that didn't work. Is there a field name I can use or will this only work for the first name?
Here's my code:
<form method="post" action="http://visitor.r20.constantcontact.com/d.jsp" target="_blank">
<input type="hidden" name="m" value="1102604824976">
<input type="hidden" name="p" value="oi">
<input type="hidden" name="sit" value="k7xincheb">
<input type="hidden" name="f" value="e2c7e1ff-c0de-4a7c-92a8-9b520f46527d">
First Name: <input type="text" name="NO-IDEA-WHAT-TO-CALL-THIS" size="10" value="" style="font-size:10pt; border:1px solid #999999;"><br>
Email Address: <input type="text" name="ea" size="10" value="" style="font-size:10pt; border:1px solid #999999;">
<input type="submit" name="go" value="go">
My test form is here: http://unwined.thebelmonster.com/ScriptTesting/ConstantContact/Random/CCRandom.cfm
As of today, we don't have the ability to pass any variables to the second page of the form outside of email address. Not a bad guess with fn but want to make sure you don't waste additional time.
I passed the feedback on the form to our dev team that manages the Join My Mailing application. They are definitely aware that embedded signup forms and the ability to collect more information on the first step is missing and have those items on their roadmap for adding in the future.
Unfortuantely this specific feature is not currently available in our default forms. However, we did recently release a major update to our signup forms to allow for truly embedded forms that can be heavily customized. With the help of a developer, you could customize one of these forms to pre-populate form variables.
You can read more about the new signup forms here:
And you can find information about cusotmizing or creating a completely custom form here:
If you have any questions, please let me know!
View API documentation, code samples, get your API key.Visit Page
We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...Read More