Custom error reporting

Top  Previous  Next

If you wish to change the way of error messages showing, you have next settings to implement in configuration file:

error_block_begin - Error block beginning HTML
error_block_end - Error block ending HTML
error_msg_begin - Error message beginning HTML
error_msg_end - Error message ending HTML
error_field_style - Error field CSS style

Example:

error_block_begin = <TABLE align="center" border="1">
error_msg_begin = <TR><TD>
error_msg_end = </TD></TD>
error_block_end = </TABLE>
error_field_style = border: solid 1px red; background: yellow;

If error appears, form applicant will see the error message like a table, and error fields will be highlighted by red border and yellow background.

Remember to put in <!-- FPP_ERROR --> tag to the page where you'd like to display error messages.