Commit Graph

46 Commits

Author SHA1 Message Date
Thomas Gelf 3b4b85374d QuickForm: fully respect false submit label 2016-06-26 14:02:21 +02:00
Thomas Gelf d01194a7b4 QuickForm: optimize runtime order 2016-05-24 20:25:16 +02:00
Thomas Gelf 5fc16f393d QuickBaseForm: take over parts of QuickForm 2016-03-24 01:59:50 +01:00
Thomas Gelf 324e15e2b5 QuickForm: add helper for shorter display group...
...definitions
2016-03-22 23:43:47 +01:00
Thomas Gelf 16bc8bf6b3 QuickForm: add missing beforeSetup hook 2016-03-22 02:09:37 +01:00
Thomas Gelf afde1806f7 QuickForm: add beforeSetup hook 2016-03-22 01:26:44 +01:00
Thomas Gelf 75f8872962 QuickForm: allow for named hints
This is necessary as I want to refer to them in display groups
2016-03-21 19:08:21 +01:00
Thomas Gelf 70db23b8d1 FormSimpleNote: do not use "Note" from ZF
For compatibility reasons we'll not use 'note' anymore, it isn't part
of older Zend Framework versions

fixes #11297
2016-03-06 01:00:50 +01:00
Thomas Gelf ddba5c570c QuickForm: fix layout for html notes 2016-03-06 00:53:55 +01:00
Thomas Gelf 7498820700 QuickForm: add fake first submit button...
...and improve button handling. This is to make sure that form
submission will not erraneously use the wrong submit button.
2016-03-05 10:56:00 +01:00
Thomas Gelf b6cb7389a1 QuickForm: add prefix path for local elements 2016-03-04 18:18:56 +01:00
Thomas Gelf 5b893dc47e QuickForm: remember success message for API requests 2016-02-03 00:51:04 +01:00
Thomas Gelf 16c4bd4da8 QuickForm: add API helpers 2015-12-10 12:50:10 +01:00
Thomas Gelf de3c824fb2 QuickForm: allow public access to getSentValue 2015-11-06 09:40:49 +01:00
Thomas Gelf 51ee2a1fa5 QuickForm: add buttons to group
TODO: create list of buttons, get rid of hardcoded delete
2015-10-15 23:44:37 +02:00
Thomas Gelf 48a0389c80 QuickForm: remove most decorators from submit 2015-10-15 20:11:40 +02:00
Thomas Gelf b7d4b3f1a2 QuickForm: set decorators for form errors 2015-10-15 17:53:29 +02:00
Thomas Gelf 7693192e66 QuickForm: catch Exceptions from success handlers 2015-10-15 17:52:56 +02:00
Thomas Gelf 0544be3aec QuickForm: allow params for successUrl 2015-10-15 17:52:02 +02:00
Thomas Gelf a39c8c3280 QuickForm: add getSuccessUrl() 2015-10-13 17:48:16 +02:00
Thomas Gelf 5a244e209a QuickForm: fix ampersand for form actions 2015-10-13 17:29:20 +02:00
Thomas Gelf be98cf5133 QuickForm: return sent value only when sent 2015-10-13 17:28:26 +02:00
Thomas Gelf de843b19ed QuickForm: set csrf value through addHidden 2015-08-03 12:54:40 +02:00
Thomas Gelf 483ba3fbbd QuickForm: setValue instead of setDefaultValue 2015-08-03 12:54:39 +02:00
Thomas Gelf 0203196ffd QuickForm: more robust submit button handling 2015-08-03 12:54:39 +02:00
Thomas Gelf 7b07d07d02 QuickForm: prepare elements before onRequest 2015-07-31 15:46:46 +02:00
Thomas Gelf 51672e33bd QuickForm: addHtml VS addHtmlNote (note is styled) 2015-07-31 14:48:17 +02:00
Thomas Gelf f5ebb06d8a QuickForm: be strict on setting request only once 2015-07-30 15:39:51 +02:00
Thomas Gelf 1fc7f6e2cb QuickForm: dedicated method for special options 2015-07-30 15:39:09 +02:00
Thomas Gelf 7ebb2dcdc9 QuickForm: add onRequest hook 2015-07-30 11:49:08 +02:00
Thomas Gelf 44a9755cce QuickForm: no label for hints 2015-07-30 10:09:44 +02:00
Thomas Gelf 18782b9ff5 QuickForm: add buttons before onSetup() hook 2015-07-30 09:10:57 +02:00
Thomas Gelf c9dd2e284c QuickForm: addHtmlHint helper method 2015-07-30 08:54:03 +02:00
Thomas Gelf a2cc9a612a DirectorObjectForm: move optionalEnum to QuickForm 2015-07-30 08:54:03 +02:00
Thomas Gelf 2bc57d459b QuickForm: translate() makes use of module name 2015-07-30 08:54:03 +02:00
Thomas Gelf 9e80a5242b QuickForm: support spaces and more on submit labels 2015-07-28 15:09:16 +02:00
Thomas Gelf fa8dbaadfc QuickForm: add getSentValue() helper method 2015-07-28 11:48:42 +02:00
Thomas Gelf 38501e8e96 QuickForm: postpone setup() call 2015-07-28 11:37:08 +02:00
Thomas Gelf 570a0ac00a QuickForm: do not validate unsubmitted but sent
There is no clean way to clear errors detected by isValidPartial
afterwards, so we shouldn't call it
2015-07-28 11:35:53 +02:00
Thomas Gelf 1fd97c8606 QuickForm: add moveSubmitToBottom hack 2015-07-21 15:13:42 +02:00
Alexander Fuhr 83fdf0f67d QuickForm: Fix null failure 2015-07-03 11:20:32 +02:00
Thomas Gelf 61795ccdcd QuickForm/FormLoader: add helper for subforms 2015-07-02 15:30:02 +02:00
Thomas Gelf fc2352fb1e QuickForm: improve submission detection
Still not complete
2015-06-24 14:54:14 +02:00
Thomas Gelf eb6fda1eb1 QuickForm: add onSetup helper 2015-06-24 10:07:30 +02:00
Thomas Gelf 88d87b1e5c QuickForm: add preValidation hook
Allows to modify form properties depending on submitted values before
validating them
2015-06-08 14:38:54 +02:00
Thomas Gelf 332ec1da4b Initial rough abstractions, basic forms
fixes #9134
2015-04-24 14:26:44 +02:00