antonitus
Member
Can someone please tell me if there is a way to add a checkbox, that when selected (ticked), will automatically subscribe a user to an acymailing newsletter list.
For example:
I have a registration form with the main fields such as 'name' and 'email' (which acymailing use to subscribe a user), plus other fields used in my registration form. At the end of the form, I want to add a checkbox saying "Tick here to subscribe to our newsletter". When submitting the form, it should subscribe to the newsletter as well as doing the usual registering of the user (which already works). If unticked, of course, no subscription to the newsletter and the user gets registered the normal way.
What code can I add to this, if it exists?
I know there is a URL hack from acymailing forums, which is this and it works well for me:
You can add this to the jump URL section of the form, however, I don't want to do this as I have no real control and the user will automatically be subscribed without their consent. I'm sure there is a data protection act against this and I wouldn't like it if someone did this to me without my consent.
Thanks,
Tony
Fabrik V3.3.2 - Joomla 3.4.1
For example:
I have a registration form with the main fields such as 'name' and 'email' (which acymailing use to subscribe a user), plus other fields used in my registration form. At the end of the form, I want to add a checkbox saying "Tick here to subscribe to our newsletter". When submitting the form, it should subscribe to the newsletter as well as doing the usual registering of the user (which already works). If unticked, of course, no subscription to the newsletter and the user gets registered the normal way.
What code can I add to this, if it exists?
I know there is a URL hack from acymailing forums, which is this and it works well for me:
/index.php?option=com_acymailing&ctrl=sub&task=optin&hiddenlists=1,4&user[name]={Full_Name}&user={Email_Address}
You can add this to the jump URL section of the form, however, I don't want to do this as I have no real control and the user will automatically be subscribed without their consent. I'm sure there is a data protection act against this and I wouldn't like it if someone did this to me without my consent.
Thanks,
Tony
Fabrik V3.3.2 - Joomla 3.4.1