Jelix 1.6.40

choice_htmlFormWidget extends WidgetBase
in package
implements ParentWidgetInterface

HTML form builder

Tags
subpackage

forms_widget_plugin

link
http://developer.jelix.org/wiki/rfc/jforms-controls-plugins
example

generated JS code: c = new jFormsJQControlChoice('choice2', 'Another choice'); c.errInvalid='"Another choice" field is invalid'; jFormsJQ.tForm.addControl(c); c2 = c; c2.items['choice1']=[]; c2.addControl(c, 'choice2'); c2.addControl(c, 'choice2'); c2.addControl(c, 'choice2'); c2.addControl(c, 'choice3'); c2.addControl(c, 'choice4'); c2.addControl(c, 'choice4'); c2.activate('');

Interfaces, Classes and Traits

ParentWidgetInterface

Table of Contents

addFinalJs()  : mixed
addJs()  : mixed
controlJsChild()  : mixed
outputControl()  : mixed
outputControlValue()  : mixed
outputMetaContent()  : mixed
jsChoiceInternal()  : mixed

Methods

addFinalJs()

public addFinalJs(mixed $js) : mixed
Parameters
$js : mixed
Return values
mixed

outputMetaContent()

public outputMetaContent(mixed $resp) : mixed
Parameters
$resp : mixed
Return values
mixed

jsChoiceInternal()

protected jsChoiceInternal(mixed $ctrl) : mixed
Parameters
$ctrl : mixed
Return values
mixed

Search results