CMS MADE SIMPLE FORGE

Form Builder

 

[#2792] DeleteResponse is never called on validation

avatar
Created By: Nicolas Aspert (elhefe38)
Date Submitted: Mon Dec 22 08:11:53 -0500 2008

Assigned To:
Version: None
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
DeleteResponse is never called on validation
Detailed Description:
When using the validation via email, DeleteResponse should be called if the
validation succeeds.
Right now, you can validate several times, generating one email (for instance)
each time the user clicks its validation link.


History

Comments
avatar
Date: 2008-12-22 08:40
Posted By: Nicolas Aspert (elhefe38)

Not sure if this is the proper fix but changing the file action.validate.php
around line 19 to the follwing fixed the problem

if (!$aeform->CheckResponse($params['fbrp_f'], $params['fbrp_r'],
$params['fbrp_c']))
        {
                echo $this->Lang('validation_response_error');
                return;
        }

$aeform->DeleteResponse($params['fbrp_r']);

      
avatar
Date: 2009-04-28 20:34
Posted By: Simon (simonschaufi)

fixed in svn
      
Updates

Updated: 2009-04-28 20:34
resolution_id: => 7
state: Open => Closed