CMS MADE SIMPLE FORGE

Form Browser

 

[#7469] On edit post submitted data to a " Text Input (Multiple)" is truncated to one char

avatar
Created By: René Helminsen (reneh)
Date Submitted: Tue Jan 17 07:39:38 -0500 2012

Assigned To: Ryan Foster (RytoEX)
Version: 0.4
CMSMS Version: 1.10.2
Severity: Critical
Resolution: None
State: Open
Summary:
On edit post submitted data to a " Text Input (Multiple)" is truncated to one char
Detailed Description:
On edit post in FormBrowser the submitted data in a "Text Input (Multiple)" is
truncated to one char.
I see FBr problem is only on field of type   "Text Input (Multiple)"  and the
problem is ONLY if its only one field submitted and not multiple to same.
If re-saving on Edit form its saving as only the truncated data - so data get
lost!
(Same problem on old and new FB-forms.) Looks like its a pull problem on Edit
post....

If looking at submission in View all data is ok.


History

Comments
avatar
Date: 2014-12-23 10:50
Posted By: Simon Brown (uptoeleven)

The bug is in FormBuilder.

FormBuilder > classes > TextFieldExpandable.class.php

change line 38 from
			$vals = 1;
to
			$this->Value = array($this->Value);
			$vals = 1;

then it works