&format=`myfavoritecolor:My Favorite Color:listbox:1,myfavoritesong:My Favorite Song:listbox:0`
&format=`myfavoritecolor:Myy Favorite Color:listbox:1, myfavoritesong:My Favorite Song:listbox:0, myfavoritefood:My Favorite Food:listbox:0, myfavoritecms:My Favorite CMS:listbox:0`
This has had me banging my head against the wall all afternoon but finally realized what I was doing wrong . . . I hope this will save someone a lot of heartache.
This is an awesome and powerful script but be mindful of two things if you want select boxes, check boxes, and radio buttons to be remembered on error:
<p><span style="color:#900;">[+validationmessage+]</span></p> <form method="post"> <input type="hidden" name="formID" value="testFrom" /> <table> <tr valign="top"> <td>Name</td> <td><input type="text" name="fullName" maxlength="60" eform="Your Name::1:" /></td> </tr> <tr valign="top"> <td>Email</td> <td><input type="text" name="email" size="40" maxlength="40" eform="Email Address:email:1" /></td> </tr> <tr valign="top"> <td>Any Ideas?</td> <td> <input type="radio" name="frmIdea" value="Yes" eform="Any Idea::1:" /> Yes <input type="radio" name="frmIdea" value="No" /> No <input type="radio" name="frmIdea" value="Maybe" /> Maybe <input type="radio" name="frmIdea" value="Dont Know" /> Don't Know </td> </tr> <tr valign="top"> <td>Language</td> <td><select name="frmLanguage"> <option value="en-au">AU English</option> <option value="en-gb">UK English</option> <option value="en-us" selected="selected">US English</option> </select></td> </tr> <tr valign="top"> <td></td> <td></td> </tr> </table> </form>
[!eform? &formid=`testForm` &to=`[email protected]` &gotoid=`1` &tpl=`testForm`!]

1) Doc-IT- Save posted eforms directly to a modx document/folder.
2) Auto-Print - Automatically print the eForm Report after it’s posted.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Unknown: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: [(my_root)]/manager/includes/document.parser.class.inc.php(705) : eval()’d code
Line: 192
Parser timing
MySQL: 0.0056 s s (4 Requests)
PHP: 0.0521 s s
Total: 0.0578 s s
It seems that in the code, the snippet is looking for the eform.inc.php file from "assets/snippets/eform/eform.inc.php" but in the zip file it is in "assets/snippets/eform.inc.php", so try to create the eform folder under snippets and move the eform.inc.php to that folder.
With MODx 0.9.2.1, I obtain:
...
Is it a bug?
This discussion is closed to further replies. Keep calm and carry on.