Good day LimeSurvey community,
I am trying to use a POST form in the end message of a survey, so a participant can subscribe to our homepage newsletter if he so desires. I'm using the following form for that:
Code:
<form accept-charset="utf-8" action="https://www.beispiel.de/newsletter/" id="allNewsletterForm" method="post" name="allNewsletterForm" target="_blank">
<input type="submit" value="Newsletter abonnieren" />
<input name="salutationID" type="hidden" value="{if(TOKEN:ATTRIBUTE_3.code=='Herr', '1', '2')}" />
<input name="userFirstname" type="hidden" value="{TOKEN:FIRSTNAME}" />
<input name="userLastname" type="hidden" value="{TOKEN:LASTNAME}" />
<input name="userEmail" type="hidden" value="{TOKEN:EMAIL}" />
</form>
During testing, as soon as I arrive at the end message and click the submit button to order the newsletter, I'm getting redirected to the welcome page of the survey and the form's action doesn't get executed (no newsletter order is being sent).
After importing the survey .lsa to one of our older LS installations (2.73), the POST form appears to be working fine (newsletter order shows up in a separate window for a second, then the end message can be seen again).
So far I've encountered this issue on our own hosted version (3.21.1) and a LimeSurvey Professional version (3.22).
Do you have an idea what could be causing this behavior?