Forums

Aweber Single Optin instead of double

guillome 01 Apr, 2015
Hello,

I am using custom code and curl to pass form data to aweber, however in this case it is considered as a double optin. Is there any way to make this as a single optin? If I cut and paste aweber form code to my website, then it is a single optin, if I forward data with custom code and curl it is considered as a double optin.

Is there any way to avoid double?

Thanks
GreyHead 01 Apr, 2015
Hi guillome,

You can probably set up a 'dummy' form in a Thank you page based on Aweber's code.

If their code is a HTML form code then you can convert the inputs to hidden inputs, if it's Javascript you can add the script. In each case have ChronoForms set the values and then get the user to click a 'Confirm' button (or auto submit with JavaScript).

Something on those lines should let you run the Aweber code after ChronoForms has processed the form data.

Bob
guillome 01 Apr, 2015
Hi Bob,

thanks. I do not follow you. So you mean I need to create a thank you page? Usually a simple html code is used as a normal optin form. What should I process after curl runs? Chrono processes everything and transmits the data to Aweber, then immediately a double optin confirmation is sent to the user. I think there is nothing I can do after curl has sent the data to aweber.

What do you think?

thanks,
Guillome
GreyHead 01 Apr, 2015
Hi guillome,

You would need to 'turn off' the cURL and submit the data from the Thank You page instead, one of the methods I suggested should work from there.

Bob
guillome 01 Apr, 2015
Now I understand, thanks. Any idea how to submit the form from the thankyou page automatically?
GreyHead 01 Apr, 2015
Hi Guillome,

This should work:
<script type='text/javascript'>
window.addEvent('domready', function() {
  $('form_id').submit();
});
</script>
replace form_id with the id of your form.

Bob
guillome 03 Apr, 2015
Hello,

how can I get all the chronoforms data to the thankyou page transferred after the user submits the chrono form?
What is the aweber form is created during the chrono process with hidden fields and the javascript (you showed) run on submit event?

thanks
guillome 03 Apr, 2015
Hello,

actually the script you sent didn't work somehow, but this did:
<SCRIPT TYPE="text/JavaScript">document.forms[0].submit();</SCRIPT>

thanks,
Gery
GreyHead 03 Apr, 2015
Hi guillome,

If you put the Aweber form on a Thank you page then you should be able to use the format
. . .  value='{input_name}' . . . 
to add the values from the submitted info.

Bob
guillome 03 Apr, 2015
In the redirect I define to send {email} as a parameter which correctly displays in the URL but this is a bit of security hole. Someone could then submit anyone using that form to my list.

I used value='{email}' in the aweber form, but it only displays {email} in the form box.

But I could solve the problem in the chrono form submit event with a custome code where I converted the html code to php and submitted it, but the problem is that it takes time and in the meantime other messages are also displayed that are not very welcome.

So now I try with thankyou page but I am afraid of this URL solution from security point of view.
GreyHead 03 Apr, 2015
Hi Guillome,

I'm sorry but I have no idea what your question is :-(

Where are you using the email in a URL?

How exactly have you put the Aweber form into the Thank you page?

Bob
guillome 03 Apr, 2015
Thanks, I have solved it via php and not on the thankyoupage. custom code worked fine and looks more secure as well. thanks a lot for your awesome recommendations and help!
This topic is locked and no more replies can be posted.