Are there any examples anywhere of simple single input forms? Specifically adding a single contact to a single list and presenting 'thank you' type content dynamically on submit.
Solved! Go to Solution.
I've decided to go with v2 since im a novice when it comes to API integration. im using the php sample code from the portal (https://github.com/constantcontact/php-sdk/blob/master/examples/addOrUpdateContact.php).
I noticed there is a list selection and a first/last name input. i can probably just remove the the first/last name stuff pretty easily but how can i specify a particular list and get rid of the dropdown list?
also where do i find this 'autoload' required in the code?
To change the drop down list to a single list you would want to check around line 136. This is where the current code is that creates the drop down list.
As for the autoload.php that is a file that is located in the https://github.com/constantcontact/php-sdk/tree/master/src/Ctct. Please make sure you go through the full installation to ensure that you get all the files that are needed.