subscribe form - very confused
Posted: Tue Jan 22, 2008 8:58 pm
I could really use some help with this. The documentation, as I read it, is either very incomplete or wrong, and I am admittedly a noobie with forms and OpenEMM.
I follow the manual to create a subscribe form and the accompanying actions and all that gets returned is the error.
For one thing, the manual states "the HTML code for the success form does not feature the hidden field with the user ID (agnUID)", but the sample form that follows DOES include it:
Example (http://www.openemm.org/forums/viewtopic ... ight=forms):
Would it be possible for someone to post a working subscribe form as well as a description of the actions (double-opt not needed for now)?
- Andrew
I follow the manual to create a subscribe form and the accompanying actions and all that gets returned is the error.
For one thing, the manual states "the HTML code for the success form does not feature the hidden field with the user ID (agnUID)", but the sample form that follows DOES include it:
I am also confused because the sample code does not resembe at all the forms I see posted in the forums by people who know far more than I...<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="SaveProfile">
<input type="hidden" name="agnUID" value="$agnUID">
Example (http://www.openemm.org/forums/viewtopic ... ight=forms):
The example in the docs look nothing like this. I understand some differences, like the fact that the example directly above passes some variables directly that would (according to docs) be passed in the URL (like agnCI and agnFN), but the sample in the docs includes nothing for passing the agnMAILINGLIST, and does not describe how to associate the subscribtion to any mailing list.<form name="subform" method="post" action="http://mydomain.net:8080/form.do" >
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="subscribe">
<input type="hidden" name="agnSUBSCRIBE" value="1">
<input type="hidden" name="agnMAILINGLIST" value="1">
Would it be possible for someone to post a working subscribe form as well as a description of the actions (double-opt not needed for now)?
- Andrew