This involves some magic...
Create a copy of your template "form_widget.tpl" (and other templates that you might need for your form) that you'll find under "system\modules\frontend\templates" and place the copies in the "templates" folder in your TL root.
Or, use the "Templates" module in back end to edit them (which I prefer).
Edit the template copies and locate this (in a couple of places, one for table oriented forms and one for non-table):
Code:
<?php echo $this->generateWithError(); ?>
...and change it to:
Code:
<?php echo $this->generateWithError(true); ?>
Hey presto! It switches the error message and the form widget around!
Bookmarks