|
ec74e82d5c
|
MDL-9618 Form remove option logic is incorrect - patch by Mark Nielsen; merged from MOODLE_18_STABLE
|
2007-05-16 20:32:01 +00:00 |
|
|
0709d4d5f5
|
some xhtml validity fixes for the case that select and text elements are 'frozen'
|
2007-01-11 04:57:57 +00:00 |
|
|
5ce73257ab
|
some bug fixes in setHelpButton internals.
added new editorhelpbutton function that can be used to refer to several help topics.
|
2007-01-04 10:23:06 +00:00 |
|
|
a23f0aaf95
|
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
|
2006-12-19 07:03:08 +00:00 |
|
|
19194f825a
|
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
|
2006-12-14 12:44:10 +00:00 |
|
|
44875d7898
|
added code to include hidden labels in groups in forms
|
2006-12-09 14:06:15 +00:00 |
|
|
f388442b26
|
added removeOption method to allow removing options from a select drop down
|
2006-11-15 07:36:00 +00:00 |
|
|
d4fe14d3e4
|
some changes to setHelpButton methods on elements and MoodleQuickForm to allow non standard help buttons such as the grades pop up window.
|
2006-11-13 07:43:22 +00:00 |
|
|
7f40a229a4
|
New version of formslib.php (see MDL-6914 for more details), course/edit2.php is disabled for now - working on edit3.php ;-)
More inline comments/docs today.
|
2006-10-12 07:33:57 +00:00 |
|
|
da6f876395
|
This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
|
2006-09-24 17:04:51 +00:00 |
|