CMS MADE SIMPLE FORGE

Form Builder

 

[#6536] "Javascript for field" not included in input for "Validate-via-Email Address"

avatar
Created By: Sašo Živanović (avani)
Date Submitted: Wed Jun 01 06:11:07 -0400 2011

Assigned To:
Version: 0.7
CMSMS Version: None
Severity: Trivial
Resolution: Fixed
State: Closed
Summary:
"Javascript for field" not included in input for "Validate-via-Email Address"
Detailed Description:
Function GetFieldInput in DispositionEmailConfirmation.class.php does not
include the javascript that can be specified in the Advanced page of the
settings for fields of type Validate-via-Email Address.

It's a trivial patch (I can't attach anything here, so I'm including the code of
the function---it's short anywas). Just add the second line and
." ".$js
into the call of fbCreateInputText.

Best,
Sašo

--------

	function GetFieldInput($id, &$params, $returnid)
	{
		$mod = $this->form_ptr->module_ptr;
		$js = $this->GetOption('javascript','');
		return $mod->fbCreateInputText($id, 'fbrp__'.$this->Id,
htmlspecialchars($this->Value, ENT_QUOTES),25,80,$this->GetCSSIdTag()."
".$js,'email');
	}



History

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

Will check this.
      
avatar
Date: 2014-11-14 16:09
Posted By: Jeff Bosch (ajprog)

Fixed for 0.8.1
      
avatar
Date: 2015-01-21 10:44
Posted By: Rolf (rolf1)

FB 0.8.1 is released
      
Updates

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

Updated: 2014-11-14 16:09
resolution_id: 6 => 7
assigned_to_id: 11306 => 100

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