12 Commits

Author SHA1 Message Date
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
stronk7
4f6bd3b9c1 Increasing the displayed size of course->shortinfo to 20. MDL-10026
(bigger but enough smaller than the fullname field)
2007-08-09 12:26:43 +00:00
toyomoyo
787fb606a6 merged fix for MDL_9804, course shortname limited to 15 chars on forms 2007-07-26 02:30:18 +00:00
moodler
05c8db0fa7 Merged typo fixes for MDL-10013 2007-06-04 12:42:17 +00:00
jamiesensei
18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +00:00
jamiesensei
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
skodak
cffb18cc3b coding style fixes MDL-6954 2006-11-09 22:16:44 +00:00
skodak
e24a1f364a coding style fixes MDL-6954 2006-11-09 21:58:12 +00:00
jamiesensei
45ca9e8e2d added autofocus on first error and moved formslib include to inside request_form.php 2006-10-24 11:43:51 +00:00
jamiesensei
073fe8f980 oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last commit. 2006-10-17 11:44:13 +00:00
jamiesensei
b6241ce2c8 fixed some whitespace problems 2006-10-17 11:38:46 +00:00
jamiesensei
e13cc88f02 migrated to new formslib code. Also removed $course variable which was been used in a number of places in this file but not set anywhere. 2006-10-17 11:08:13 +00:00