ModX eForm Bug
I have been following this tutorial:
http://wiki.modxcms.com/index.php/Multilanguage_eForm
But unfortunately the current eForm release (1.4.4.5) has a bug that affects this tutorial. You cannot have a language variable with the eform=”" attribute! So given their example, if you submit the form it would output something like this:
Some errors were detected in your form:
The following required field(s) are missing:, ,
I found the problem and to resolve load up eform.inc.php and replace line 186:
Original:
$desc = $fld[1];
Replace with:
$desc = formMerge($fld[1],$_lang);
Hope this helps some people!
No comments
Jump to comment form | comments rss [?] | trackback uri [?]