Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Progressive Disclosure Implementation: Difference between revisions

From MoodleDocs
(New page: === 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 ...)
 
Line 7: Line 7:
[[Image:progressivedisclosure2.png|frame|the form after pressing the "show advanced" button]]
[[Image:progressivedisclosure2.png|frame|the form after pressing the "show advanced" button]]


====Location of this example====
====Address (URL) of this example====
{{{
/course/modedit.php?update=2&return=1
/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====
====How to access this screen====

Revision as of 18:45, 3 June 2009

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.

the form before pressing the "show advanced" button
the form after pressing the "show advanced" button

Address (URL) of this example

/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

Implementation How-to

This example uses Moodle Formslib.

Please fill in