4 require_once
'Services/Form/classes/class.ilIdentifiedMultiValuesInputGUI.php';
32 parent::__construct($a_title, $a_postvar);
33 $this->validationRegexp =
"";
79 if( !is_array($submittedElements) && $this->
getRequired() )
81 $this->
setAlert($lng->txt(
"msg_input_is_required"));
85 foreach($submittedElements as $submittedValue)
89 if ($this->
getRequired() && trim($submittedContentText) ==
"")
91 $this->
setAlert($lng->txt(
'msg_input_is_required'));
99 $this->
setAlert($lng->txt(
'msg_wrong_format'));
114 $tpl =
new ilTemplate(
"tpl.prop_multi_text_inp.html",
true,
true,
"Services/Form");
120 $tpl->setCurrentBlock(
"prop_text_propval");
122 $tpl->parseCurrentBlock();
126 $tpl->setCurrentBlock(
"move");
132 include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
135 $tpl->parseCurrentBlock();
137 $tpl->setCurrentBlock(
"row");
145 $tpl->setVariable(
"DISABLED",
146 " disabled=\"disabled\"");
154 include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
159 $tpl->parseCurrentBlock();
166 $tpl->setCurrentBlock(
'js_engine_initialisation');
167 $tpl->touchBlock(
'js_engine_initialisation');
168 $tpl->parseCurrentBlock();
171 $globalTpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
172 $globalTpl->addJavascript(
"./Services/Form/js/ServiceFormIdentifiedWizardInputExtend.js");
189 return (
bool)strlen(
$value);
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
getMaxLength()
Get Max Length.
fetchContentTextFromValue($value)
__construct($a_title="", $a_postvar="")
Constructor.
onCheckInput()
Check input, strip slashes etc.
valueHasContentText($value)
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
static get($a_glyph, $a_text="")
Get glyph html.
isEditElementOrderEnabled()
getValidationRegexp()
Get validation regexp.
special template class to simplify handling of ITX/PEAR
isEditElementOccuranceEnabled()
$editElementOccuranceEnabled
setEditElementOrderEnabled($editElementOrderEnabled)
setEditElementOccuranceEnabled($editElementOccuranceEnabled)