I’m trying to get an eform going, and I’ve run into a problem with <textarea> form fields. It appears that I can only have 1 <textarea> field per form because the parser (maybe?) strips out everything between where the first text area field is declared and the last textarea field is. So in a form with three <textarea> fields in the &tpl chunk, when it is rendered in the browser, only the last field shows up. The other two fields and all other code in between is missing from the source. Remove all but one of the <textarea> fields, and everything else shows up fine.
I don’t know where to look to workaround this - has anyone else noticed this problem? Here’s my code calling the eform:
[[eForm? &formid=`TestForm` &to=`[email protected]` &tpl=`eQuestionnaireFormTest`
&report=`eQuestionnaireReport` &gotoid=`66` &subject=`Product Info Request from Website`]]
My test form:
<form action="[~[*id*]~]" method="post">
<input type="hidden" name="formid" value="TestForm" />
<textarea name="textareaName" rows="4" cols="40" eform="Test 1::0"></textarea>
<textarea name="textareaName1" rows="4" cols="40"eform="Test 2::0"></textarea>
<textarea name="textareaName2" rows="4" cols="40" eform="Test 3::0"></textarea>
<input type="submit" name="submitButtonName" value="Send Product Information Request"/>
</form>
And what renders in the browser:
<form action="test.html" method="post">
<input type="hidden" name="formid" value="TestForm"/>
<textarea name="textareaName2" rows="4" cols="40"></textarea>
<input type="submit" name="submitButtonName" value="Send Product Information Request"/>
</form>
This is a wonderful snippet, and otherwise has worked really well for what I’ve needed.