Pass form variables from my site to pre-populate CC form

Highlighted
Member

Pass form variables from my site to pre-populate CC form

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">
</form>

 

My test form is here:  http://unwined.thebelmonster.com/ScriptTesting/ConstantContact/Random/CCRandom.cfm

3 REPLIES 3
Highlighted
Moderator

Re: Pass form variables from my site to pre-populate CC form

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. 

Dave Berard
Senior Product Manager, Constant Contact
Highlighted
Senior Member

Re: Pass form variables from my site to pre-populate CC form

Hey folks - I'm looking for just this functionality. Has it been added?

Highlighted
Honored Contributor

Re: Pass form variables from my site to pre-populate CC form

Hello,

 

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: 

https://knowledgebase.constantcontact.com/articles/KnowledgeBase/18265-Create-a-Sign-Up-Form-with-th...

 

And you can find information about cusotmizing or creating a completely custom form here:

http://techblog.constantcontact.com/api/release-updates/announcing-a-new-signup-form-post-url/

 

If you have any questions, please let me know!

 

Sincerely,

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

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
Featured