Form not found -- Unsubscribe error

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Liam
Posts: 9
Joined: Mon Oct 22, 2007 8:08 pm

Form not found -- Unsubscribe error

Post by Liam »

I'm trying to get the unsubscribe functionality working. I've spent hours getting to this point! (Two things I had to figure out: ##AGNUID## does not work, you have to use [agnUID] as below, and you need to make sure there is an '&' chacter before the first http var, so "form.do?&agnFN=..." otherwise the generated uid value runs together with the agnCL value.)

The code in the template looks like this:
<a href="http://mydomain.net:8080/form.do?&agnCI ... bscribe</a>

The generated url for test recipients is:
http://news.mydomain.net:8080/r.html?ui ... pwixcmmfx0

The en_unsubscribe form contains (without the table tags):
<form action="form.do">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="en_unsub_confirm">
<input type="hidden" name="agnUID" value="$!agnUID">
<input type="submit" value=" Yes ">
<input type="reset" value=" No " onClick="javascript:history.back();">
</form>
Currently I have "Load User Data" for the first action (I created that action, per the documentation) and
"No action" for the ending action.
However, I've been trying various combinations here.

The en_unsub_confirm form has Unsubscribe for the first action, and "No action" for the second. I've also tried the user_unsubscribe action here.

AHA! It turned out the problem was that the form link was marked as "trackable." That's what the uid value was about.

I'll go ahead and post this anyway, in case anyone else has the same issue.

The docs really seem to be out of sync with the application, BTW.
Also, if you are trying to debug an error message like "Form not found" it's impossible to search for, since those are all stop words, apparently...

Thanks.
ralgozino
Posts: 1
Joined: Fri Apr 26, 2013 7:30 pm

Re: Form not found -- Unsubscribe error

Post by ralgozino »

Thank you very much!! I found my self with the same shitty error "form not found" and I didn't even know where to start... thanks! :D
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Form not found -- Unsubscribe error

Post by maschoff »

We will check if we can clarify this issue in the next release of the OpenEMM manual.
OpenEMM Maintainer
Post Reply