When using a form on a secure page, the CHECK_REFERER when set to TRUE gives the error message when the form is submitted.