1. 04 Jun, 2017 1 commit
  2. 01 Mar, 2017 1 commit
    • Carsten  Rose's avatar
      Preparation 'DynamicUpdate' fuer beliebige Felder. · 70a4f34d
      Carsten Rose authored
      FillStoreForm.php, HelperFormElement.php, BuildFormBootstap.php, BuildFormPlain.php, BuildFormTable.php, QuickFormQuery.php: Rename buildFormElementId() to buildFormElementname(). New Function buildFormElementId(). Rename variable $htmlFormElementId to $htmlFormElementName.
      Support.php: tooltips now contain an html id.
      Constants.php: Preparation for API 'element-update'.
      70a4f34d
  3. 17 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Index.rst: started to document form layout options · 64f0c031
      Carsten Rose authored
      AbstractBuildForm.php:
      #3224, #3231 Html Tag <hr> als FormElement. >> htmlBefore | htmlAfter, FormElement.parameter = htmlBefore|htmlAfter implemented.
      #3230 templateGroup: Abstaende zwischen Elementen. 'tgClass' implemented
      
      BuildFormPlain.php: code restructured
      64f0c031
  4. 16 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Add 'templateGroup' as a new 'container' option. · 10784233
      Carsten Rose authored
      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'
      10784233
  5. 06 Feb, 2017 1 commit
  6. 13 Jan, 2017 1 commit
  7. 02 May, 2016 1 commit
  8. 29 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Bootstrap grip columns are configurable. A default on the form and, if... · 0c9f96b5
      Carsten Rose authored
      Bootstrap grip columns are configurable. A default on the form and, if necessary, per formelement. The default is now changed from 2,6,4 to 2,9,1
      UsersManual/index.rst: updated to the new behaviour.
      Support.php: setIfNotSet() has a new third parameter.
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormPlain.php, QuickFormQuery.php: New abstract function fillWrapLabelInputNote().
      0c9f96b5
  9. 25 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Clientside validator implemented via Bootstrap Validator. · 19fefdf8
      Carsten Rose authored
      Support.php: PhpDoc
      AbstractBuildForm.php: extended buildRow* with parameter htmlFormElementId. buildLabel rewritten to use Support::doAttribute, Support::wrapTag. buildInput/buildDateTim,buildSelect() now add's class 'form-control'. Input fields now offers a 'help-block'-div
      BuildFormBootstrap, BuildFormPlain.php, BuildFormTable.php: buildRowNative rewritten to support <label>. Signature of BuildRow* adjusted
      19fefdf8
  10. 14 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      After creating a new record and still open form: a new sip is created and... · 16408b47
      Carsten Rose authored
      After creating a new record and still open form: a new sip is created and transfered to client. Attention: 'new + save + modify + save again' still create two records (error).
      AbstractBuildForm.php: buildNewSip() renamed to buildHiddenSip(). Call of buildHiddenSip() moved from tail() to process(). buildHiddenSip() returns JSON code too.
      BuildFormBootstrap.php, BuildFromPlain.php, BuildFormTable.php : removed call buildNewSip()
      QuickFormQuery.php: After save, reload current record and create new sip
      Save.php: process() returns id of affected record.
      16408b47
  11. 24 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Dynamic Update implemented · b31fb9eb
      Carsten Rose authored
      load.php: implemented
      FillStoreForm.php: implemented
      Store.php: phpunit test complains about 'store already filled'. Option set to explicitly allow rewrite.
      AbstractBuildForm.php: Added new mode 'FORM_UPDATE'. Elements additionaly create json code. 'data-load' attribute will be added to form elements, if 'dynamicUpdate=yes'
        elements(): added call by reference parameter $json, to return the generated json code.
      BodyTextParse.php: added 'r =' as a new 'start new line' indicator. This was necessary at least for phpunit tests to run.
      BuildFormBootstrap.php: buildPill() passes json data structure.
      BuildFormPlain, BuildFormTable.php: doSubrecords()  passes json data structure.
      Constants.php: New FORM_UPDATE, SQL_FORM_ELEMENT_SIMPLE_ALL_CONTAINER, ERROR_FORM_NOT_FOUND, API_FORM_UPDATE
      Evaluate.php: Exception text enhanced.
      QuickFormQuery.php: FillStoreForm.php included. Automatic detection of FORM_LOAD and FORM_SAVE removed. Instead the mode are given explicitly. mode=FORM_UPDATE implemented.
      Save.php: added TODOs in code.
      formEditor.sql: reformat code. Add 'FormElement.dynamicUpdate'. 'FormElemente.checkType': 'number' replaced by 'digit'. Added 'alnumx', 'digit'. Form 'form', 'formElement': output of 'title' replaced by 'name' - outputting 'title' confuses the user (tries to show records which do fit to the formEditor) and might produce recursion in evaluation (did not understand why, but happens). FormEditor: implemented 'dynamicUpdate', escpecially the 'type' select list will be adjusted dynamically.
      b31fb9eb
  12. 24 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      OnArray: Add htmlEntititesOnArray() · 8d94dd02
      Carsten Rose authored
      Support: moved wrapTag() from to Support. Add appendTooltip()
      AbstractBuildForm, BuildFormBootstrap BuildFormPlain, BuildFormTable: implemented showDebugInfo. Moved wrapTag() to Support. Fixed Typo in word buildNewSip.
      8d94dd02
  13. 22 Feb, 2016 1 commit
  14. 09 Feb, 2016 1 commit
  15. 02 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      AbstractBuildForm: parentRecords can now overwritten. Rewrite getActionUrl().... · 27bfba62
      Carsten Rose authored
      AbstractBuildForm: parentRecords can now overwritten. Rewrite getActionUrl(). Used new HelperFormElement::buildFormElementId(). Fixed error that textarea elements didn't displayed any value. Removed hidden element for checkboxes. Renamed buildHidden() to buildNativeHidden(). New buildHidden() which stores Hidden value in SIP (instead of transferring via form).
      BuiltForm*: moved SIP to POST element (builtNewSep() ).
      27bfba62
  16. 30 Jan, 2016 1 commit
  17. 27 Jan, 2016 1 commit
  18. 26 Jan, 2016 1 commit
  19. 25 Jan, 2016 2 commits