Has anyone successfully integrated constant contact (Ctct) into a chronoform?
It seems pretty straight forward according to this post, but this post may not work with current code as there is not a date (year) on it. http://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/3452-how-can-i-build-a-constant-contact-sign-up-form-.html
1. Upload the Ctct API code
2. Then use a custom code action OnSubmit to execute the Ctct php to process the request.(I'm using the "View" mode on the custom code event)
I have implemented Ctct on many basic html forms but currently receiving an error.
Here is the current error I receive:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/bodylift/public_html/administrator/components/com_chronoforms/form_actions/custom_code/cfaction_custom_code.php(15) : eval()'d code on line 4
I attached the php code I'm using in the custom code action.
Any help would be appreciated,
Mike
It seems pretty straight forward according to this post, but this post may not work with current code as there is not a date (year) on it. http://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/3452-how-can-i-build-a-constant-contact-sign-up-form-.html
1. Upload the Ctct API code
2. Then use a custom code action OnSubmit to execute the Ctct php to process the request.(I'm using the "View" mode on the custom code event)
I have implemented Ctct on many basic html forms but currently receiving an error.
Here is the current error I receive:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/bodylift/public_html/administrator/components/com_chronoforms/form_actions/custom_code/cfaction_custom_code.php(15) : eval()'d code on line 4
I attached the php code I'm using in the custom code action.
Any help would be appreciated,
Mike