Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_1.1
Posted: Sun Oct 31, 2010 3:49 pm
I found a couples of mistake in the manual to unsubscribe so there's the fix and a little procedure to make it work.
Have fun
Yvon
11.2.5.2 Creating new forms
replace
<input type="hidden" name="agnFN" value="OptOutConfirm">
by
<input type="hidden" name="agnFN" value="OptOutQuestion">
11.2.5.3 Calling up the unsubscribe form
replace
http://company.openemm.org/form.do?
agnCI=1&agnFN=OptOutQuestion&agnUID=##AGNUID##
by
http://company.openemm.org/form.do?
agnCI=1&agnFN=UnsubscribeQuery&agnUID=##AGNUID##
In short you have
1- an action name Unsubscribe with Unsubscribe as the action type and only for forms as usage
2- a form named UnsubscribeQuery With User_get_data as the action and this code in the success form
<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="OptOutQuestion">
<input type="hidden" name="agnUID" value="$!agnUID">
Do you really want to unsubscribe?<br>
<input type="reset" value="Cancel">
<input type="submit" value="Unsubscribe">
</form>
3- A form named OptOutQuestion with Unsubscribe action as a starting action. and with a message in success form like "you have been unsubscribe" and another message in the error form like "there's an error, please start again"
Have fun
Yvon
11.2.5.2 Creating new forms
replace
<input type="hidden" name="agnFN" value="OptOutConfirm">
by
<input type="hidden" name="agnFN" value="OptOutQuestion">
11.2.5.3 Calling up the unsubscribe form
replace
http://company.openemm.org/form.do?
agnCI=1&agnFN=OptOutQuestion&agnUID=##AGNUID##
by
http://company.openemm.org/form.do?
agnCI=1&agnFN=UnsubscribeQuery&agnUID=##AGNUID##
In short you have
1- an action name Unsubscribe with Unsubscribe as the action type and only for forms as usage
2- a form named UnsubscribeQuery With User_get_data as the action and this code in the success form
<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="OptOutQuestion">
<input type="hidden" name="agnUID" value="$!agnUID">
Do you really want to unsubscribe?<br>
<input type="reset" value="Cancel">
<input type="submit" value="Unsubscribe">
</form>
3- A form named OptOutQuestion with Unsubscribe action as a starting action. and with a message in success form like "you have been unsubscribe" and another message in the error form like "there's an error, please start again"