Using cURL with iContact

mcmullen1ny 04 Jun, 2010
Hello,

First off thanks for the great component and fantastic forum. I usually get all my answers by searching here but I'm stumped on this one.

I have a client that wants to locally store the results of a form but also push the information to iContact. cURL seems to be the obvious choice to achieve this task unless I want to start tinkering with the API.

Has anybody had any luck doing this? Everything else about the form is working fine, storing locally , sending confirmation emails, etc.

Any help would be greatly appreciated.

Cheers!

Matthew
GreyHead 04 Jun, 2010
Hi Matthew,

Use the cURL plugin, that should do the job OK.

Bob
mcmullen1ny 11 Jun, 2010
Thanks Bob,

I have tried the cURL plug-in but it doesn't seem to be working. After a week off from this I am looking at it with fresh eyes and realizing where the problem is.

It's possible that the many hidden form fields is a problem and I'm interpreting the instructions wrong.

I added all of them plus their values in the Extra Fields area but maybe I need to just add the Extra Fields equal to the fields in my form they correspond to.

I have:
clientID="client id value sent"

but maybe it should be:
clientID=clientID

I'll give this a whirl and post back the results.

Cheers!
GreyHead 11 Jun, 2010
Hi mcmullen1ny,

If there are hidden fields in your form HTML then they should show up as individual entries on the CURL plugin configuration.

Bob

PS clientID="client id value sent" is definitely wrong.
bdeleon2011 18 Jan, 2011
Hi Bob,

I followed your instructions in Signing up to a newsletter service for ChronoForms and everything seems to be functioning fine on my website, Edgewatermedspa.com, however I'm not receiving any new contacts in my iContact account.

Here's what I have input.

Form Fields:
fields_lname and fields_email

Extra Fields Data:
listid=11891
specialid:11891=S69B
clientid=822502
formid=1285
reallistid=1
doubleopt=0


Curl params target URL: https://app.icontact.com/icp/signup.php

Form code:
<div class="inform">
<p><img src="templates/edgewater/images/book.png" alt="" style="text-align:center"/></p>
<p class="user2">8 Skin Care Ingredients to Avoid</p>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 40px;"><span style="color:#151515">NAME:</span></label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="" id="text_0" name="name" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 40px;"><span style="color:#151515">EMAIL:</span></label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" title="" id="text_1" name="email" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="EMAIL MY REPORT" name="button_2" type="submit" />
  </div>
  <div class="cfclear"> </div>
</div>


Are you able to tell what is off for the new contact to not be added to iContact?

Thanks in advance.

Brandy
GreyHead 18 Jan, 2011
Hi Brandy,

I replied to your email about this a little while ago.

Have you tried turning on DeBug in the plug-in and the form to see what results are shown there?

Bob
bdeleon2011 18 Jan, 2011

Hi Brandy,

I replied to your email about this a little while ago.

Have you tried turning on DeBug in the plug-in and the form to see what results are shown there?

Bob



Hi Bob,

I got your email. Thanks. I'll try this and let you know if it works.

Brandy
bdeleon2011 19 Jan, 2011
Bob,

Turning on DeBug does not appear to fix the problem. The form still works, however no new contacts are added to iContact.

Thanks,
Brandy
bdeleon2011 19 Jan, 2011
Bob,

I fixed the problem. All fields were set correctly. The CURL plugin wasn't activated.

Thanks for all of your time and assistance.

Brandy
GreyHead 19 Jan, 2011
Hi Brandy,

Ah, well found. I should have suggested that.

Bob
This topic is locked and no more replies can be posted.