CMS MADE SIMPLE FORGE

Form Builder

 

[#8691] UDT validation doesn't work properly with standard validation

avatar
Created By: Piotr Michalczyk (p_michalczyk)
Date Submitted: Thu Nov 29 12:29:27 -0500 2012

Assigned To:
Version: 0.7.3
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
UDT validation doesn't work properly with standard validation
Detailed Description:
Same problem as described on http://dev.cmsmadesimple.org/bug/view/5785

Reposting according to Stikki's comment.

Solution: in fle 'classes/Form.class.php' in function 'Validate()' if clause
beggining with:

if( $validated == true && !empty($udt) && "-1" != $udt )

should be moved out of:

for($i=0;$i<count($this->Fields);$i++)

loop.

It is a case of moving one closing bracket a little higher.

Do You want me to create a patch? I will do if necessary.

Regards.


History

Comments
avatar
Date: 2013-09-02 15:41
Posted By: Tapio Löytty (Stikki)

Will check this out.
      
avatar
Date: 2014-10-24 03:43
Posted By: Rolf (rolf1)

Should be fixed in SVN too with commit #697
      
avatar
Date: 2015-01-21 10:47
Posted By: Rolf (rolf1)

FB 0.8.1 is released
      
Updates

Updated: 2015-01-21 10:47
state: Open => Closed

Updated: 2014-10-24 03:43
resolution_id: 6 => 7
assigned_to_id: 11306 => 100

Updated: 2013-09-02 15:41
resolution_id: => 6
cmsms_version_id: 29828 => -1
assigned_to_id: 100 => 11306