Project

General

Profile

Actions

Bug #14237

closed

Flexforms don't show default values

Added by old_gmarsal over 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-07-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have configured some default values in my flexforms. They aren't shown when i load the form. I have configured some fields with <eval>required</eval> and this doesn't work too.

<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>LDAP SERVER</sheetTitle>
</TCEforms>
<type>array</type>
<el>

&lt;hostname&gt;
&lt;TCEforms&gt;
&lt;label&gt;ldap server hostname :&lt;/label&gt;
&lt;config&gt;
&lt;type&gt;input&lt;/type&gt;
&lt;size&gt;30&lt;/size&gt;
&lt;default&gt;ldap.mydomain&lt;/default&gt;
&lt;eval&gt;required,nospace&lt;/eval&gt;
&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/hostname&gt;
&lt;port&gt;
&lt;TCEforms&gt;
&lt;label&gt;ldap server port :&lt;/label&gt;
&lt;config&gt;
&lt;type&gt;input&lt;/type&gt;
&lt;size&gt;10&lt;/size&gt;
&lt;default&gt;389&lt;/default&gt;
&lt;eval&gt;required,int&lt;/eval&gt;
&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/port&gt;
&lt;binduser&gt;
&lt;TCEforms&gt;
&lt;label&gt;bind user :&lt;/label&gt;
&lt;config&gt;
&lt;type&gt;input&lt;/type&gt;
&lt;size&gt;30&lt;/size&gt;
&lt;eval&gt;trim&lt;/eval&gt;
&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/binduser&gt;
&lt;bindpass&gt;
&lt;TCEforms&gt;
&lt;label&gt;bind password :&lt;/label&gt;
&lt;config&gt;
&lt;type&gt;input&lt;/type&gt;
&lt;size&gt;30&lt;/size&gt;
&lt;eval&gt;trim,password&lt;/eval&gt;
&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/bindpass&gt;
&lt;/el&gt;
&lt;/ROOT&gt;
&lt;/sDEF&gt;
&lt;/sheets&gt;
&lt;/T3DataStructure&gt;
(issue imported from #M214)

Files

class.t3lib_tceforms.214.patch (1.02 KB) class.t3lib_tceforms.214.patch Administrator Admin, 2005-05-19 19:15
Actions

Also available in: Atom PDF