I'm trying to marry acajoom with chronoforms and before you groan because it seems to be a dead horse I have a twist I'm having a hard time figuring out. I need to have a small form (name, email, phone) which when filled out (outside of joomla) gets emailed to client, subscribes the user to a specific acajoom newsletter and then redirects the user to another chronoforms form (within joomla)
What I've done so far:
Created both forms in chronoforms
I've tried using the
but that takes me to a subscribe page. I don't want the user to have to fill out a form THEN fill out another subscribe form! I want it to be behind the scenes so to speak.
I can set it up to pass the name and email to the acajoom database fields of course, but it doesn't subscribe them to a particular newsletter. How do I subsribe them to a particular newsletter? ie, pass that information in a hidden field so that acajoom recognizes it? The database is not set up so that there is a "subscription" field.
Also, I'm getting random "You do not have permission to access this form" when I try to redirect to the 2nd form (which is a more detailed information form). What do I need to look for to make sure authentication is on target and fairly wide open here?
Thanks,
Jen Driller
Drillerweb.com
What I've done so far:
Created both forms in chronoforms
I've tried using the
<?php
$email = JRequest::getVar('email', '', 'post');
$name = JRequest::getVar('name', '', 'post');
$MyForm->formrow->redirecturl = JURI::base()."index.php?option=com_acajoom&act=subscribe&listid=14&receive_html=1&email=$email&name=$name";
?>
but that takes me to a subscribe page. I don't want the user to have to fill out a form THEN fill out another subscribe form! I want it to be behind the scenes so to speak.
I can set it up to pass the name and email to the acajoom database fields of course, but it doesn't subscribe them to a particular newsletter. How do I subsribe them to a particular newsletter? ie, pass that information in a hidden field so that acajoom recognizes it? The database is not set up so that there is a "subscription" field.
Also, I'm getting random "You do not have permission to access this form" when I try to redirect to the 2nd form (which is a more detailed information form). What do I need to look for to make sure authentication is on target and fairly wide open here?
Thanks,
Jen Driller
Drillerweb.com