Hi all,
I have a contact form, I would like to add the ability for people filling in the form to also sign up to my newsletter, is there any easy way of doing this, I am actually using a 3rd party web app to collect user information, my standard newsletter signup form currently looks like this:
So I just need to take the value from the email address on the contact form and add it to Campaign Monitor (my 3rd party web app).
Hope someone can help.
Thanks
I have a contact form, I would like to add the ability for people filling in the form to also sign up to my newsletter, is there any easy way of doing this, I am actually using a 3rd party web app to collect user information, my standard newsletter signup form currently looks like this:
<p>
<input type="text" name="cm-ndiit-ndiit" id="newsletter" value="email address" onblur="if(this.value=='') this.value='email address';" onfocus="if(this.value=='email address') this.value='';" />
<input type="submit" class="subscribe" value="Submit" />
</p>
So I just need to take the value from the email address on the contact form and add it to Campaign Monitor (my 3rd party web app).
Hope someone can help.
Thanks
Hi Lw_d,
I took a quick look at Campaign Monitor and I think you can use their API to subscribe from the OnSubmit After box. Either the Curl Plugin using POST or a ReDirect Url to the GET address shoudl do it.
Bob
I took a quick look at Campaign Monitor and I think you can use their API to subscribe from the OnSubmit After box. Either the Curl Plugin using POST or a ReDirect Url to the GET address shoudl do it.
Bob
Nice work, any chance you can me the link or the code?
Thanks again for the quick reply.
Thanks again for the quick reply.
Hi lw_d,
Sorry, I'm just off to pack my bag and am off on a trip for the next week. Whe I get back on April 1 let me know if you haven't found the answer.
Bob
Sorry, I'm just off to pack my bag and am off on a trip for the next week. Whe I get back on April 1 let me know if you haven't found the answer.
Bob
Hi lw_d,
please quick search the CURL plugin and you should find it with some posts about how to configure, reading the tooltips in the plugin page will help!
Cheers
Max
please quick search the CURL plugin and you should find it with some posts about how to configure, reading the tooltips in the plugin page will help!
Cheers
Max
Oooh, might have to outsource this, looks a little tricky (for a designer anyway🙂.
Looks like CF is more than up to the job though.
Looks like CF is more than up to the job though.
Hi all,
I have installed the CURL plugin, I have also found specific help from the Campaign Monitor site:
http://www.campaignmonitor.com/resources/entry/682/capturing-subscribers-from-an-existing-form/
Here is an extract:
Can anyone help me, how do I pass the data from my ChronoForm and place it in the url?
p.s. the url for the form submit has my own url in, I have simply replaced it with the sample from the CA site, I know that I need to place my own info here, as mentioned, just need help on taking the data from the input fields for the name and email and passing it onto Campaign Monitor. I am trying the Redirecting to specific URL’s option, not the API option, if anyone has either working that would be great.
Thanks
Thanks
I have installed the CURL plugin, I have also found specific help from the Campaign Monitor site:
http://www.campaignmonitor.com/resources/entry/682/capturing-subscribers-from-an-existing-form/
Here is an extract:
The important points to note are the question mark (?) to show the start of the variables, the ampersand (&) to seperate the values we’re passing in, and the plus sign (+) which should be used to replace any spaces in the name.
Of course, you’ll need to grab the name and address values (and anything else you want) from your existing form, and plug those in where we have [email]sample@test.com[/email] for example.
Can anyone help me, how do I pass the data from my ChronoForm and place it in the url?
p.s. the url for the form submit has my own url in, I have simply replaced it with the sample from the CA site, I know that I need to place my own info here, as mentioned, just need help on taking the data from the input fields for the name and email and passing it onto Campaign Monitor. I am trying the Redirecting to specific URL’s option, not the API option, if anyone has either working that would be great.
Thanks
Thanks
Hi,
Can you show me a screenshot from your CURL plugin config page ?
Regards,
Max
Can you show me a screenshot from your CURL plugin config page ?
Regards,
Max
Hi Max,
I haven't yet added any data in CURL, not sure what to add to be honest, apologies.
Lee
I haven't yet added any data in CURL, not sure what to add to be honest, apologies.
Lee
No problems, just show me a screenshot with what you have and I will tell you what to add and where!
Regards
Max
Regards
Max
Hi Max,
The form itself is quite long, its a RVP form, the newsletter field I have taken a screen shot of, let me know if you need the rest of the CURL page.

Thanks
Lee
The form itself is quite long, its a RVP form, the newsletter field I have taken a screen shot of, let me know if you need the rest of the CURL page.

Thanks
Lee
Did you manage to take a look at the screen shot? Is there something I should be entering with the CURL plugin page?
Appreciate any help.
Thanks
Lee
Appreciate any help.
Thanks
Lee
Hi Lee,
in front of each field, you add the variable name which will be added to the URL, and at the top of this page you need to add the submit URL which you are sending the data to!🙂
Regards,
Max
in front of each field, you add the variable name which will be added to the URL, and at the top of this page you need to add the submit URL which you are sending the data to!🙂
Regards,
Max
Sorry, I guess I need spoon feeding on this:
1) Do I add a variable to my form code, how might this look, for example, the Email part of the form code looks like this:
So when you say add the variable to each field, do you mean in the above code, if so how?
Or, do you mean the input field for the CURL plugin page, which i guess would be:
Email Field: cmInputFieldName
So I enter the corresponding input field name that Campaign Monitor uses, is this correct?
2) When you say add the submit URL, would I enter this in the Target URL field on the CURL plugin page, if so, would this url be:
http://myclient.thisapp.com/p/a/t/tos/?Name&Email
Assuming all this is right, where do I add the functionality that says "only do the above" (subscribe) if they tick this checkbox, my checkbox part of my code looks like this:
<p><input type="checkbox" name="rfqNewsletter[]" id="rfqNewsletter" value="rfqNewsletter" /><label class="opt">Yes, put me on the list</label></p>
Thanks so much for the help so far, I have no doubt that this thread will be useful to others in the future, once working, i will also post on the Campaign monitor forum, I am sure other Joomla and CA users will make good use of it.
Thanks
1) Do I add a variable to my form code, how might this look, for example, the Email part of the form code looks like this:
<p><label for="Email" id="EmailL">Email: *</label>
<input type="text" id="Email" name="Email" /></p>
So when you say add the variable to each field, do you mean in the above code, if so how?
Or, do you mean the input field for the CURL plugin page, which i guess would be:
Email Field: cmInputFieldName
So I enter the corresponding input field name that Campaign Monitor uses, is this correct?
2) When you say add the submit URL, would I enter this in the Target URL field on the CURL plugin page, if so, would this url be:
http://myclient.thisapp.com/p/a/t/tos/?Name&Email
Assuming all this is right, where do I add the functionality that says "only do the above" (subscribe) if they tick this checkbox, my checkbox part of my code looks like this:
<p><input type="checkbox" name="rfqNewsletter[]" id="rfqNewsletter" value="rfqNewsletter" /><label class="opt">Yes, put me on the list</label></p>
Thanks so much for the help so far, I have no doubt that this thread will be useful to others in the future, once working, i will also post on the Campaign monitor forum, I am sure other Joomla and CA users will make good use of it.
Thanks
Happy days, its works, all I need to do know is not subscribe them if they tick the subscribe check box.
Can anyone help, so close🙂
Thanks
Lee
Can anyone help, so close🙂
Thanks
Lee
Hi Lee,
so you want to switch the plugin ON or OFF based on a checkbox value, now you should wait for the next release, I don't think its possible now!
in the new release you can switch this easily with 1 or 2 simple lines of code!
Regards
Max
so you want to switch the plugin ON or OFF based on a checkbox value, now you should wait for the next release, I don't think its possible now!
in the new release you can switch this easily with 1 or 2 simple lines of code!
Regards
Max
I am using version 2.5 of CF, I have learnt version 3 yet, so am I right in thinking that there is no way of doing this with version 2.5?
Thanks
Thanks
well, you "may" be able to do this, but the issue is that we are going to use some code which is not very meaningful and may or may not work, I'm not sure, try to change the run order and make the plugins run after the onsubmit code then add this code to the onsubmit after email box, make sure the plugin itself runs after email!
<?php
if(!$_POST['checkbox']){
$paramsvalues->plugins = "":
}
?>
This topic is locked and no more replies can be posted.