
Feature request - Add multi-page forms (wizards)
Reported by dleffler | September 25th, 2012 @ 07:46 PM | in 2.2.1 (closed)
This could be accomplished fairly simply by...
- adding a 'page break' control to show the groups and allow us to enter a name
- create several groups of in the form with all but the current 'page' hidden. The 'next' button would simply hide the current 'page' and 'unhide' the next 'page'
- would probably want to also allow a 'pager' type control so you could see the entire sequence of pages and optionally select to move back to the beginning, etc...
- Obviously we'd have to do some error checking on any controls on the hidden pages before we allowed the 'submit' button to appear
Comments and changes to this ticket
-
dleffler September 26th, 2012 @ 06:19 PM
- Assigned user set to dleffler
- Milestone order changed from 21 to 0
-
dleffler September 29th, 2012 @ 02:17 AM
- Milestone order changed from 27 to 0
Might be easiest to simply add one field/property to the formbuilder_control table for the page with 0 being master or all pages.
- would need to validate each form page before progressing to the next
- would want to have a 'counter' field on the form which would increment to the highest form page completed so you couldn't skip ahead
-
dleffler November 21st, 2012 @ 08:56 PM
- Milestone changed from 2.1.0 to 2.1.1
- Milestone order changed from 17 to 0
-
-
-
dleffler February 16th, 2013 @ 02:56 AM
- Milestone changed from 2.2.0alpha2 to 2.2.0alpha3
-
dleffler February 16th, 2013 @ 03:03 PM
- Assigned user cleared.
-
dleffler March 2nd, 2013 @ 09:43 PM
- Milestone changed from 2.2.0alpha3 to 2.2.0beta1
-
-
dleffler March 11th, 2013 @ 08:57 PM
This jQuery widget seems most usable http://www.dbarnes.info/jWizard
-
dleffler March 16th, 2013 @ 03:27 AM
- Milestone changed from 2.2.0beta1 to 2.2.0beta2
-
dleffler March 29th, 2013 @ 07:59 PM
- Milestone changed from 2.2.0beta2 to 2.2.0beta3
-
dleffler April 20th, 2013 @ 10:17 AM
- Milestone changed from 2.2.0beta3 to 2.2.0release-candidate
-
dleffler May 1st, 2013 @ 10:22 AM
- Milestone changed from 2.2.0release-candidate to 2.2.1
-
-
dleffler May 14th, 2013 @ 08:34 PM
- Milestone set to 2.2.1
-
expNinja May 29th, 2013 @ 07:39 PM
(from [a6b0ea6302e66ad28c62148975b460a91ef5b805]) Prep table for form pages/wizard [#730] https://github.com/exponentcms/exponent-cms/commit/a6b0ea6302e66ad2...
-
dleffler June 2nd, 2013 @ 12:30 AM
- Assigned user set to dleffler
-
dleffler June 2nd, 2013 @ 06:37 PM
After some preliminary coding, it appears the jWizard addon will not be suitable since we must also provide some form validation between pages...currently testing/coding using jQuery Stepy http://wbotelhos.com/stepy and jQuery Validation plugin http://validation.bassistance.de...also appears a better implementation is by using a 'page break' control instead of assigning a 'page' property to each control.
FWIW, we need to provide form paging with both the form() object (used in forms module and when programmatically creating forms) and the {form} smarty block (used to create forms in views). Also must provide some sort of interface in the fakeform() object which is used to design forms for the forms module...however this will likely be a single linear display with the page break controls instead of a multi-page type display.
FWIW, did some testing with jQuery quickWizard https://github.com/conzett/jquery.quickWizard which uses the Validation plugin, but is not quite a 'pretty' as Stepy.
-
dleffler June 2nd, 2013 @ 08:21 PM
Notes to self: We'll need to adapt/code:
- option/setting for form to allow paging...this will then offer the 'page' control, activate the scripting, etc...
- checking to ensure the 1st control of a paged form IS a page break...e.g., the FIRST control MUST be the page control to do the 'fieldset' properly, otherwise the controls above the 'page' break appear all the time and are not arranged nicely.
-
expNinja June 3rd, 2013 @ 08:35 PM
(from [bbe7b86a26218fcce6501367771f4da09e0d93d4]) Initial implementation of multi-page forms (wizards), by adding 'page break' control, currently only works in forms designer/forms module, will add a smarty block version next...needs additional error checking since page control MUST be first to prevent odd displays [#730] https://github.com/exponentcms/exponent-cms/commit/bbe7b86a26218fcc...
-
expNinja June 3rd, 2013 @ 10:00 PM
(from [74aa3af0daa35e9f67df5df07d87a4ef8479edd6]) Adds smarty multi-page forms (wizards), by adding 'page' block, and a 'paged' param to the 'form' block...the 'form' block now requires an id or name if 'paged' is set [#730] https://github.com/exponentcms/exponent-cms/commit/74aa3af0daa35e9f...
-
expNinja June 4th, 2013 @ 01:53 AM
(from [2c82c140647e21133c245f1fdb81e40369d844fc]) Fixes new page control so it does NOT appear in the form show/showall views [#730] https://github.com/exponentcms/exponent-cms/commit/2c82c140647e2113...
-
expNinja June 4th, 2013 @ 02:20 PM
(from [fb6ee90a96ec0945cb53a39db21621f8de1df5a5]) Cleaner implementation of pagecontrol pushing all code inside the form object (instead of the view) [#730] https://github.com/exponentcms/exponent-cms/commit/fb6ee90a96ec0945...
-
expNinja June 4th, 2013 @ 06:34 PM
(from [1825a2b402324c841b2f29b3bed961e0cf862285]) Now ensure there is a pager control at the top of the controls (if a pager control exists there must be one with rank=1, otherwise the top pager control is moved to the top rank [#730] https://github.com/exponentcms/exponent-cms/commit/1825a2b402324c84...
-
dleffler June 8th, 2013 @ 03:25 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS