This topic is locked

Error Notification

12/4/2009 2:03:46 PM
PHPRunner General questions
R
RockyMtnHi author

The form I created is tall with 15 fields from top to bottom. The first 2 fields are required. If the first 2 fields aren't completed and you click the Submit button at the bottom of the form then the page just blinks and you see nothing else - because the error notifications are at the top of the page next to the 2 required fields. There is nothing at the bottom of the page next to the Submit button to describe the error.
How do I trap the error and provide a notification next to the Submit button?
Thanks

T
tkjerulf 12/6/2009

Hi just open the template file, or click view html within the edit page you need it,

then move the following div to the bottom of your page
{BEGIN message_block}

<DIV id=message_block>

{$message}

</div>

{END message_block}
cheers

T