ajshort
01ff2cb36a
ENHANCEMENT: Added a method to set the link where the form is displayed, allowing multiforms to run inside controller actions.
2011-12-19 21:38:25 +11:00
ajshort
4f1510ff5b
BUGFIX: Run validation on the final step.
2011-12-19 14:21:56 +11:00
ajshort
65d1681331
MINOR: Make the form reference consistently available on form steps.
2011-12-19 14:21:47 +11:00
Ingo Schommer
c73082e2ab
Merge pull request #1 from ajshort/master
...
BUGFIX Make The Controller And Form Name Available For Field Construction
2011-05-27 15:14:47 -07:00
Ingo Schommer
61a2df4430
MINOR Migrated README content from doc.ss.org
2011-02-12 12:35:58 +13:00
ajshort
1f1bb225f0
BUGFIX: Fixed the form state not being saved to the session after a custom validateStep() validation failure.
2011-02-06 07:59:59 +11:00
ajshort
9816df1538
ENHANCEMENT: Manually set the form controller and name in MultiForm::__construct() so they are available for field construction.
2011-02-05 21:50:17 +11:00
Ingo Schommer
5dd19ad41b
MINOR Disabled MultiFormTest->testStepTraversal() as it doesn't test anything, and fails in combination with recent Form->httpSubmission() changes
2010-12-19 23:51:02 +00:00
Ingo Schommer
23480a8d05
MINOR Using $AbsoluteBaseURL in MultiFormTest (trunk compatibility)
2010-12-16 05:20:34 +00:00
Sean Harvey
fcce3f4907
MINOR Added changelog for 0.3
2010-05-11 03:54:48 +00:00
Sean Harvey
29c2e7fd5a
MINOR Fixed location where protected static should've been public in MultiFormTest
2010-05-11 03:37:51 +00:00
Sean Harvey
1374144435
API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public
2010-05-11 03:35:40 +00:00
Sean Harvey
209e56aa4b
API CHANGE MultiForm::$start_step is now declared as public, not protected, due to changes in Object::get_static()
2010-05-11 03:30:55 +00:00
Sean Harvey
60fa84df85
ENHANCEMENT Custom text for back/next and submit buttons on a per-step basis (defaults to MultiForm.BACK, MultiForm.SUBMIT etc translatable entities)
2010-05-11 03:27:42 +00:00
Sean Harvey
b84fae26a3
BUGFIX Checking $this->Data exists before trying to unserialize it
2010-05-11 03:20:33 +00:00
Mark Stephens
8d434eb3ad
BUGFIX: Unit test relied on fixed ID of member, which sometimes isn't there. May be PostGreSQL related
2010-05-04 02:14:17 +00:00
Ingo Schommer
89513c6da6
MINOR Fixed SQL quoting (requires 2.4)
...
MINOR Added ingo at ss dot org as a maintainer
2010-03-22 10:49:04 +00:00
Geoff Munn
f508442eb5
BUGFIX: column and table names now quoted properly
2010-03-14 21:09:04 +00:00
Sean Harvey
794e74bebe
BUGFIX #4480 MultiForm::next() and MultiForm::prev() now save the form data before checking the next or previous step
2010-01-10 00:57:33 +00:00
Sean Harvey
cbc7d246ac
MINOR Fixed notice if $this->Data is false/null as unserialize() first parameter
2009-10-22 20:57:54 +00:00
Ingo Schommer
501ad9d952
MINOR Updated master language tables
2009-09-10 04:08:37 +00:00
Sean Harvey
b415cd5053
MINOR Added test case for making up a fake MultiFormSessionID in the URL
2009-08-05 10:31:47 +00:00
Sean Harvey
c2ba6d441f
API CHANGE Added currentSessionHash property to MultiForm which stores the currently opened session by the user
...
API CHANGE Renamed MultiForm::getSessionRecord() to getCurrentSession() and removed the parameter, since this wasn't done in a very OOP manner
MINOR Test for MultiFormSession::markCompleted() to ensure that session can't be used again by MultiForm
2009-08-05 10:12:13 +00:00
Rainer Spittel
a907cc6493
ENHANCEMENT: enabled MultiForm to use customised action (actions_exempt_from_validation).
...
Changed has been done in the constructor to read the static variables (incl. overwritten variables).
2009-07-27 23:14:04 +00:00
Sean Harvey
95bae6450c
MINOR Added missing MultiFormTest.yml file
2009-07-20 22:36:48 +00:00
Sean Harvey
c944adb7ba
MINOR Test step traversal in MultiFormTest
...
MINOR Removed MultiFormSessionTest and integrated with MultiFormTest
2009-07-20 22:36:32 +00:00
Sean Harvey
1e434e5acf
MINOR Added missing test controller template
2009-07-20 10:58:47 +00:00
Sean Harvey
75aa55be48
MINOR Fixed submitForm test in MultiFormTest
2009-07-20 10:57:00 +00:00
Sean Harvey
8e04dfbaa5
MINOR Tidy up of tests
2009-07-20 09:22:49 +00:00
Normann Lou
07120018bf
BUGFIX: MultiFormStep::saveInto() need the current Controller as the new $form Controller to work
2009-06-03 01:47:36 +00:00
Ingo Schommer
44527561a8
ENHANCEMENT Added language files
2009-05-28 04:41:40 +00:00
Sean Harvey
04130ad501
BUGFIX If the step doesn't exist, don't attempt to delete it
2009-04-27 23:13:21 +00:00
Will Rossiter
3690de6943
MINOR: added is_numeric check to prevent form failing on certain cases
2009-01-29 09:27:17 +00:00
Sean Harvey
ef436eadd4
BUGFIX Ensure that any relations to MultiFormStep are destroyed before calling delete()
2009-01-27 10:47:22 +00:00
Sean Harvey
70b7e95c81
Reverted r70810 which didn't have a commit message
2009-01-27 10:45:46 +00:00
Sean Harvey
7e9d014eee
2009-01-27 10:44:40 +00:00
Ingo Schommer
c78159c8ac
MINOR Updated translations
2009-01-13 22:04:37 +00:00
Sean Harvey
203bb03286
MINOR Reuse of $currentStep variable, instead of retrieving the step again
2008-12-17 11:11:53 +00:00
Sean Harvey
9f8d2e1da8
ENHANCEMENT Removed hack of specific action to bypass validation and allow specifying actions to be exempt through a public static variable
2008-12-17 11:08:46 +00:00
Sean Harvey
f72761356b
Added 0.2 release notes
2008-12-05 03:22:35 +00:00
Ingo Schommer
2bd8f5a7b5
ENHANCEMENT Updated entities and added german translation for multiform
2008-10-17 22:43:02 +00:00
Ingo Schommer
4da79449f8
ENHANCEMENT Making multiform module translatable
2008-10-14 00:26:57 +00:00
Ingo Schommer
a867db5fe8
ENHANCEMENT Added MultiFormStep->saveInto() to simulate Form->saveInto() behaviour with a stub form. This is preferred method of saving step data into a DataObject, instead of using $myObj->update($myStep->loadData()), is update() doesn't trigger custom formfield saving behaviour (e.g. to save relations on an existing dataobject for CheckboxSetField)
2008-10-09 00:36:46 +00:00
Sean Harvey
a8877b780f
ENHANCEMENT Made MultiForm->prev() do the same behaviour for saving data as MultiForm->next()
2008-10-01 22:18:44 +00:00
Sean Harvey
647a5257e3
MINOR Removed unused static function is_action_field from MultiForm
2008-10-01 21:10:20 +00:00
Sean Harvey
053ac04387
MINOR Removed @usedby, it's not a valid phpdoc token
2008-10-01 21:06:56 +00:00
Ingo Schommer
7968b09fea
ENHANCEMENT Added MultiForm->getSavedSteps() and MultiForm->getSavedStepByClass()
...
ENHANCEMENT Added MultiFormStep->validateStep() for custom validation routines
ENHANCEMENT Changed MultiForm->save() to use $form->getData() instead of $data to ensure that all fields are saveable into a DataObject (had trouble with ConfirmedPasswordField returning array instead of string)
2008-10-01 18:36:52 +00:00
Sean Harvey
228d03592e
MINOR Removed old MultiForm::__construct() comments
2008-09-20 09:36:54 +00:00
Sean Harvey
c97022314f
MINOR Code syntax formatting and removal of useless comment
2008-09-20 09:31:44 +00:00
Sean Harvey
0512155cbe
MINOR Updated MultiFormTest class comments
2008-09-20 09:27:38 +00:00