Development:Progressive Disclosure Implementation: Difference between revisions
Line 29: | Line 29: | ||
This example uses Moodle [[Development:lib/formslib.php|Formslib]]. | This example uses Moodle [[Development:lib/formslib.php|Formslib]]. | ||
''Please fill in'' | ''Please fill in'', specifying the Moodle version where this information applies. |
Revision as of 19:04, 3 June 2009
This page contains the implementation instructions for Progressive Disclosure
Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please [ http://moodle.org/course/view.php?id=5 join the discussion on moodle.org] or use the page comments.
I am especially interested in comments about the readability, accessibility and brevity of the document. (UI consistency guidelines project)
Simple progressive disclosure in a form
This will store the information in a session, about in which state the form was left, so if you press the 'Show advanced' button once, you will see the advanced controls shown anytime you come back to the form.
Address of this example in your Moodle
Assuming the quiz in question has the module id of 2, the address is:
/course/modedit.php?update=2&return=1
(add a link here to an actual demo installation? if so, that would have to keep its urls forever, i.e. probably have a moodle version installed that doesn't get upgraded)
How to access this screen
- Create a quiz in a course, and open it. The configuration form will be shown
- Alternatively, open an existing quiz as a teacher and press the "Update this quiz" button
The location of the code for this implementation
Please fill in location(s) in either http://cvs.moodle.org/ or in the code cross-reference (the latter is probably more useful), specifying the Moodle version where this information applies.
Implementation How-to
This example uses Moodle Formslib.
Please fill in, specifying the Moodle version where this information applies.