<input type="hidden" name="site_name" value="[(site_name)]" />
<select class="selectDay" name="day"> [[generate_days]] </select>
Thanks for that information.
MODx tags are evaluated in documents. The report chunk is not processed as a document but as an email template (by eForm) and as a consequence has no idea about [(site_name)].
I did that trick, now i get the same message as "lupo1" describes in his posting above: [undefined]: Tampering attempt detected!
One way of resolving this in your case is to add a hidden field to your form template like this:
<input type="hidden" name="site_name" value="[(site_name)]" />
and set a [+site_name+] place holder in your report.
Like this one?
BTW: I too would appreciate a subforum for eForm since it’s getting really hard to find help using the site search. The search finds a posting in the middle of the thread with the search words, hence the whole thread gets spit out on nearly every search for eForm topics...
But i still until get the error message "name_of_select_box: Incorrect value" when i send the form. But why???
My code looks like this:
<select class="selectDay" name="day"> [[generate_days]] </select>
The options elements get generates in a snippet because i don’t can insert PHP code in the chunk
Thx...
THX, i didn’t realize that...(the search function mainly spit out this thread)
Quote from: CoreBit at Mar 16, 2007, 10:24 AMLike this one?
BTW: I too would appreciate a subforum for eForm since it’s getting really hard to find help using the site search. The search finds a posting in the middle of the thread with the search words, hence the whole thread gets spit out on nearly every search for eForm topics...
I did that trick, now i get the same message as "lupo1" describes in his posting above: [undefined]: Tampering attempt detected!
<input type="hidden" name="hidden_field" eform="Hidden Field:integer:1::#RANGE 100~300" />
<input type="hidden" name="site_name" value="[(site_name)]" eform="Site Name::1::#REGEX /[(site_name)]/" />
This discussion is closed to further replies. Keep calm and carry on.