• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Setting up a minimalist auto-optin

Explorer ,
Nov 15, 2013 Nov 15, 2013

Copy link to clipboard

Copied

I'm trying to set up a minimalist automatic opt in to email marketing list.

While it currently works up to a point (email address is added to the subscriber list), it still sends off the opt-in email.

online_business_makeovers_-_because_you_WILL_get_judged_by_how_you_look-2.jpg

This is the form code

<div class="subscribe-to-the-blog">

<h4><img src="../images/subscribetotheblog.png" alt="subscribe to the blog" /></h4>

<div class="subscribe-form">

<p>Receive an update straight to your inbox every time I publish a new article</p>

<div class="field-email">

<form action="http://www.onlineiq.biz/CampaignProcess.aspx?ListID=52458" method="post" onsubmit="return checkWholeForm22196(this)" name="catemaillistform22196">

    <div class="item">

    <input type="hidden" class="cat_textbox_small" name="FullName" id="CLFullName" maxlength="255" value="Blog Lister" />

    <input type="text" name="EmailAddress" id="CLEmailAddress" maxlength="255" placeholder="Your Email Address" />

    <input type="submit" class="joinus_button" value="Join Us" id="catlistbutton" /></div>

</form>

</div>

<script type="text/javascript" src="http://www.onlineiq.biz/CatalystScripts/ValidationFunctions.js"></script>

<script type="text/javascript">

//<![CDATA[

function checkWholeForm22196(theForm){var why = "";if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value);if (theForm.CaptchaV2) why += captchaIsInvalid(theForm, "Enter Word Verification in box below", "Please enter the correct Word Verification as seen in the image"); if (why != ""){alert(why);return false;}theForm.submit();return false;}

//]]>

</script>

</div>

</div>


Any ideas about what I am missing?

TOPICS
Email marketing

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Nov 15, 2013 Nov 15, 2013

Hey there, If this is not on another site do not do an aboslute url, set it releative.

If you make a custom web form with subscription this is a better option then campaign form.

What you have with your form is the campain sign up form still with the captcha javascript (so wont submit correctly) and your missing the form paramater for double opt in.

So..

1. Make a custom web form and add campaign to it, nothing else. You should just have the security module, name fields and email and the campaign op

...

Votes

Translate

Translate
LEGEND ,
Nov 15, 2013 Nov 15, 2013

Copy link to clipboard

Copied

Hey there, If this is not on another site do not do an aboslute url, set it releative.

If you make a custom web form with subscription this is a better option then campaign form.

What you have with your form is the campain sign up form still with the captcha javascript (so wont submit correctly) and your missing the form paramater for double opt in.

So..

1. Make a custom web form and add campaign to it, nothing else. You should just have the security module, name fields and email and the campaign option.

2. Get the code and put it where it needs to go to be modified.

3. You can remove the name fields (trust me on this) and title field and make sure you remove the javascript for these as well.

4. Checked="checked on the input checkbox for the sign up and you can hide that.

5. You should just have the email field, the submit button and the checkbox and you can style as you need to.

6. You need to add the opt in true to paramater to your form action:

&OPTIN=true

so.. (example only)

/FormProcessv2.aspx?WebFormID=12807&OID=540285&OTYPE=1&EID=0&CID=0&OPTIN=true

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 15, 2013 Nov 15, 2013

Copy link to clipboard

Copied

LATEST

Thanks Liam!

Thats really clear. I wondered whether the form was the way to go as opposed to the Campaign form. I had tried it with adding the optin=true parameters on the campaign form but it still did not work, so this clarifies that I should use web form.

thanks again.

Ursh

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines