Form.parameter & FormElement.parameter: Lines starting with '#' are treated as comments and will not be parsed.
Evaluate.php: parseArray() will skip lines starting with a '#'
AbstractBuildForm.php: templateGroup / row with the 'add' button , will be wrapped with the bs*Columns as defined in the FormElement templateGroup.
FillStoreForm.php: fixed problem with checkBoxes in templateGroups. During fillStoreForm the template group has been expanded to all possible elements - the logic for checkboxes expected that at least the '_h_<fename>' Post Variable exist - which is not true for unexpanded elements.
index.rst: description for bsLabelColumn, bsInputColumn, bsNoteColumn
index.rst: styling errors fixed.
index.rst: reformat FormElement.parameter.
templateGroup: fixed problem with missing <divclass='qfq-line'> around each copy of prefilled templateGroup.
AbstractBuildForm.php: pattern '%d' will be replaced by number of copy in FormElement 'label' and 'note'. Recode Logic to wrap templateGroup copies.
templateGroup values load until no further values exist
Load templateGroup values during form load.
AbstractBuildForm.php: implemented function templateGroupCollectFilledElements(). Add function.
FE_DYNAMIC_UPDATE: replaced explicit string against constant.
Merge remote-tracking branch 'origin/raos_work' into crose_work
Start numbering at 1 instead 0.
FieldTemplate.js: replace `%d` in `<label>` text when no children are present.
TestFormEditor.sql updated, played.
Wrap Row & Input Elements: specify 'row,/row' and bs*columns to 0 or bigger will enable/disable mutliple Elements per Row. FormElement.parameter.wrap* still have precedence over bs*Column settings.
Support.php, AbstractBuildForm.php: Recode way of initializing FormElements.
AbstractBuildForm.php: parameter to limit max number ob templateGrouup Elements.
BuildFormBootstrap.php: Labels will be hided if FormElement.bsLabelColumns=0.
BuildFormPlainTest.php: Fixed missing 'hidden'
AbstractBuildForm.php: #3066 / help-text with-error - Klasse 'hidden' wird nun gerendert und ausgeliefert.
Add 'templateGroup' as a new 'container' option.
Coding.md: Beschreibung in Deutsch wie die Formularelemente , rekursiv, gerendert werden.
AbstractBuildForm.php: new function buildTemplateGroup()
BuildFormBootstrap.php, BuildFormPlain.php, BuildFormTable.php: Preparation for new optional TemplateGroup wrap.
QuickFormQuery.php: update comments.
formEditor.sql: column 'type' definition extended - new 'templateGroup' enum. FormElement 'type' updated to new container element 'templateGroup'
Do not use deprecated functions.
Introduced more suitable function names. Deprecated old function names. Documented public functions.
Index.rst: Add globalize.js to be included. Needed by jqx-all.js - *UPDATE EXUSTING TypoScript TEMPLATES of QFQ Installation* !!!
Implemented for FormElement: wrapRow, wrapLabel, wrapInput, wrapNote
FormElement.rowLabelInputNote are not respected anymore.
AbstractBuildForm.php: cleanup
BuildFormBootsrap.php: new function customWrap()
Constants.php: new wrapRow, wrapLabel, wrapInput, wrapNote
formEditor.sql: add new column 'rowLabelInputNote'
UPDATE `FormElement` SET rowLabelInputNote = 'row,label,/label,input,/input,note,/note,/row'
Merge remote-tracking branch 'origin/raos_work' into crose_work
Re-expand placeholders upon removal of line.
Retain placeholders when expanding template. This allows for re-expand.
Index.rst: Add a comment in FAQ.
formEditor.sql: The defintion as 'editor' (not text) for FormElement 'note' has been lost - reinsert in formEditor.sql.
Merge remote-tracking branch 'origin/crose_work' into raos_work
Expand Field Templates. QfqNS.addFields() requires now requires maximum lines argument.
Field Templates scaffold.
Index.rst: documented 3 examples for upload forms.
AbstractBuildForm.php: fixed bug with uninitialized FE_SLAVE_ID
CODING.md: small updates in upload part
Support.php, AbstractBuildForm.php: new function falseemptyToZero().
Constants.php: New UPLOAD_MODE_*
Evaluate.php: fixed bug in 'skip' logic of evaluate->parseArray()
Save.php: doUpload() now returns $modeUpload, which are needed in doUploadSlave(), rewrote logic of doUploadSlave(),
Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben.
Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben.
STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'.
Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter'
Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben.
FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente.
HelperFormElement.php: new class initActionFormElement(), initUploadFormElement().
FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load.
Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD.
Changes:
- User Input will be UTF8 normalized.
* Install 'php5-intl' or 'php7.0-intl' on Webserver.
- formEditor.sql: Added HTML 'placeholder' in FormEditor for bs*Columns.
* Play 'formEditor.sql'.
Feature:
- User input will be UTF8 normalized
- config.qfq-ini:
- New configuration values: FORM_BS_LABEL_COLUMNS / FORM_BS_INPUT_COLUMNS / FORM_BS_NOTE_COLUMNS
- Comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY (=parameter is set and will not be overwritten by internal default), not UNDEFINED (overwritten by internal default).
- FileUpload: Implemented new Formelement.parameter: fileReplace=always - will replace existing files.