CMS MADE SIMPLE FORGE

Questions

 

[#1717] Form doesn't clear "errors" and "messages" from memory.

avatar
Created By: Mike Beckish (mbeckish)
Date Submitted: Mon Aug 27 14:26:06 -0400 2007

Assigned To:
Version: None
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
Form doesn't clear "errors" and "messages" from memory.
Detailed Description:
Form doesn't clear "errors" and "messages" from memory, so they don't disappear
when you resubmit the form.

Solution:
In action.default_formsubmit.php, add the following lines to the beginning of
the script:

unset($params['error']);
unset($params['message']);


History