CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11657] No validation when using "Redirect to a content page"

avatar
Created By: Tomas Amsrud (tamsrud)
Date Submitted: Thu Nov 30 03:54:50 -0500 2017

Assigned To: Robert Campbell (calguy1000)
Version: 1.2
CMSMS Version: 2.2.3.1
Severity: Minor
Resolution: Works For Me
State: Closed
Summary:
No validation when using "Redirect to a content page"
Detailed Description:
When using "Redirect to a content page" the validation doesnt seem to work.

For example I added a "Validate via Smarty Template" with {if $info != 'test'}No
access{/if}

When using redirect, and filling in "test" in the info field, it still got
submittet.
When not using redirect I got the "No access" message.

On some sites where the form is in the template, eg. in the footer or a sidebar,
I find redirect the only correct way.
This because the submission then goes to a standard template, and page.


History

Comments
avatar
Date: 2017-12-02 13:09
Posted By: Robert Campbell (calguy1000)

Although there was a minor issue with form submissions it was not in any way
related to 'Redirect to a content page'.
  I could not reproduce your error at all.
      
Updates

Updated: 2018-09-22 17:33
state: Open => Closed

Updated: 2017-12-02 13:09
resolution_id: => 11