Angie Byron
c5156e1164
#831966 by Heine, solotandem: Fixed unable to uncheck rows in tableselect default_value
2010-10-21 20:46:58 +00:00
Dries Buytaert
b0cbc018ec
- Patch #882694 by mgifford, sun, ksenzee, bleen18, yched: add missing form element titles for accessibility.
2010-10-20 01:31:07 +00:00
Dries Buytaert
d3c83c021e
- Patch #942718 by joachim: drupal_get_form() and hook_form_alter() should mention #parameters.
2010-10-20 00:53:27 +00:00
Dries Buytaert
284f2b11a4
- Patch #902644 by sun, tobiasb: machine names are too hard to implement. Date types and menu names are not validated.
...
This patch fixes a bug, but is also a last minute clean-up that will help with better distribution support. We discussed this in http://drupal.org/node/933846 .
2010-10-13 13:43:21 +00:00
Angie Byron
800cdcc840
#700380 by mitchmac, Dave Reid, mfb, Ryan Palmer, justinrandell: Fix sorting in tableselect if #weight is not set.
2010-10-07 17:31:39 +00:00
Dries Buytaert
facc581013
- Patch #769226 by Owen Barton, sun, effulgentsia, alanburke, bleen18, mfer: optimize JS/CSS aggregation for front-end performance and DX.
2010-10-05 19:59:10 +00:00
Dries Buytaert
f85a37c307
- Patch #140783 by sun, chx, effulgentsia, David_Rothstein, webchick: a select list without #default_value() always passes form validation.
2010-10-04 18:00:46 +00:00
Dries Buytaert
69e9e3e3a2
- Patch #891476 by solotandem: improved code comments
2010-10-03 01:04:51 +00:00
Angie Byron
96672deebf
#917220 by Everett Zufelt, mgifford: Invisible elements should appear before form elements.
2010-10-01 22:28:55 +00:00
Dries Buytaert
9eaa04648a
- Patch #756762 by effulgentsia, fago, sun: AJAX should follow same rules for whether to call drupal_rebuild_form() as non-AJAX submissions.
2010-09-27 00:53:56 +00:00
Dries Buytaert
3780b17654
- Patch #921606 by munzirtaha, bleen18: various code uses is_null().
2010-09-26 23:31:36 +00:00
Dries Buytaert
e22b2153a2
- Patch #140783 by sun: a select list without #default_value() always passes form validation.
2010-09-24 21:36:22 +00:00
Dries Buytaert
7330a22096
- Patch #168722 by sun, bleen18: hidden input elements contain invalid characters in ID attributes.
2010-09-22 03:34:57 +00:00
Dries Buytaert
2c10d1526f
- Patch #740834 by makononov, sun: form elements cannot be rendered without form_builder().
2010-09-16 20:14:49 +00:00
Dries Buytaert
679372502b
- Patch #910572 by sun, David_Rothstein: command line installations are broken (programmatic form submissions don't need a theme?).
2010-09-14 21:42:05 +00:00
Dries Buytaert
f8b63338e4
- Patch #756762 by effulgentsia, fago, sun, rfay, pwolanin: AJAX should follow same rules for whether to call drupal_rebuild_form() as non-AJAX submissions.
2010-09-13 01:09:26 +00:00
Dries Buytaert
7017f77cfc
- Patch #240828 by sun, yoroy: fixed 'Validation error, please try again...' is terrible UI and confuses users.
2010-09-11 14:38:04 +00:00
Angie Byron
e4aab2d289
#763376 follow-up by fago, sun, effulgentsia: Minor adjustments to drupal_array_set/get_nested_value().
2010-09-10 07:58:40 +00:00
Dries Buytaert
eaee909a00
- Patch #757154 by sun, effulgentsia: base form_id() via hook_forms() not taken into account for #validate, #submit, hook_form_FORMID_alter().
2010-09-09 23:01:48 +00:00
Angie Byron
8911c4ef45
#891476 by solotandem: Fixed Tableselect is missing a column header when not multiple value.
2010-08-30 17:07:49 +00:00
Angie Byron
cc4ce5053b
#895896 by Jacine: Fixed Textarea element should not have a value attribute.
2010-08-30 05:52:35 +00:00
Angie Byron
83c52c3b1a
#763376 by fago, sun, noahb, effulgentsia, ksenzee, jhodgdon: Fixed Not validated form values appear in ().
2010-08-27 11:54:32 +00:00
Dries Buytaert
155d2c1d99
- Patch #883336 by sun, andypost: theme_image_button() broken.
2010-08-20 01:08:18 +00:00
Dries Buytaert
26dce525a2
- Rollback of #447816 -- didn't meant to commit that just yet.
2010-08-18 00:44:52 +00:00
Dries Buytaert
946a8d5967
- Patch #879910 by plach: fixed text_field_prepare_translation() broken.
2010-08-17 18:25:31 +00:00
Dries Buytaert
699afdd1be
- Patch #690980 by seutje, sun, seanyo, aaroncouch: disabled form elements not properly rendered.
2010-07-31 04:01:51 +00:00
Dries Buytaert
93cf8ab31a
- Patch #800460 by effulgentsia, sun: WTF coupling between ()['cache'] and form processing.
2010-07-29 00:46:09 +00:00
Dries Buytaert
123bf46c43
- Patch #827430 by David_Rothstein: drupal_form_submit() no longer works with checkboxes.
2010-07-26 13:07:59 +00:00
Dries Buytaert
ecc7ce0875
- Patch #561226 by fago, effulgentsia, sun, YesCT, marcingy: orms (elements) need to able to specify include files to be loaded for building.
2010-07-17 18:52:39 +00:00
Angie Byron
0c993fd704
#776956 by CrashTest_, Damien Tournoud, effulgentsia, chx: Fixed critical bug: Complex widgets are not respecting '#disabled' state.
2010-07-10 00:03:37 +00:00
Angie Byron
893fba439b
Roll-back of #749748 . This broke JavaScript on node add forms, and probably elsewhere.
2010-07-07 17:56:42 +00:00
Dries Buytaert
47b8bec8e2
- Patch #749748 by mavimo, Dave Reid: contact and comment modules do not prefill with user info from cookie.
2010-07-07 01:14:18 +00:00
Dries Buytaert
c0fcf85b39
- Patch #791168 by Berdir: does form_state() cache never get cleaned?
2010-07-07 00:56:45 +00:00
Dries Buytaert
f3304854d0
- Patch #736298 by effulgentsia, eojthebrave, andypost, robeano: fixed Refactor file.module to use proper button click detection, enabling FAPI to improve button click detection security.
2010-07-02 12:37:57 +00:00
Dries Buytaert
151fb3f943
- Patch #838324 by agentrickard: document form_options_flatten().
2010-06-26 18:11:27 +00:00
Dries Buytaert
eace4a9d9b
- Patch #624086 by limikael, Dmitriy.trt: custom accept-charset for forms.
2010-06-25 20:19:13 +00:00
Dries Buytaert
b5ff7dd413
- Patch #802746 by effulgentsia: documentation fixes.
2010-06-16 05:06:15 +00:00
Dries Buytaert
75442c9675
- Patch #802746 by rfay, jhodgdon: document () and form builder function in form_api() group.
2010-06-15 15:52:04 +00:00
Dries Buytaert
e960a8e233
- Patch #804870 by CrookedNumber: docblock for drupal_form_submit() was outdated.
2010-06-10 07:00:03 +00:00
Dries Buytaert
15bca6e462
- Patch #803212 by effulgentsia, Heine: protection against forgery of input selection value doesn't work with checkboxes.
2010-06-05 13:18:09 +00:00
Dries Buytaert
86f8a1aa20
- Patch #748390 by rfay, effulgentsia: improve #limit_validation_errors() phpdoc.
2010-06-03 13:48:04 +00:00
Dries Buytaert
e3d803cb11
- Patch #774346 by jvandyk: fixed documentation.
2010-05-31 09:11:32 +00:00
Dries Buytaert
725481d71b
- Patch #768490 by JohnAlbin, sign: theme_table_select_header_cell() is not really a theme function.
2010-05-19 19:22:24 +00:00
Dries Buytaert
f8fa114a8e
- Patch #67439 by sun, effulgentsia: #tree in hook_element_info() does not work.
2010-05-17 21:23:32 +00:00
Dries Buytaert
47653eae18
- Patch #730046 by pwolanin, Damien Tournoud: performance settings page is inconsistent.
2010-05-12 08:26:15 +00:00
Dries Buytaert
66d75d16fc
- Patch #547490 by ugerhard, Jody Lynn, Matt V.: entering only 'Confirm password' field passes validation and returns success message.
2010-05-07 14:48:10 +00:00
Angie Byron
ed86172814
#331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting.
2010-05-06 05:59:31 +00:00
Dries Buytaert
71713081a2
- Patch #723802 by pwolanin, grendzy: convert to sha-256 and hmac from md5 and sha1.
2010-05-01 08:12:23 +00:00
Angie Byron
1f3e11d44c
#783438 by sun: Fixed #states doesn't work for #type item.
2010-05-01 00:19:35 +00:00
Angie Byron
483d476a1c
#767212 by sun, rfay: Fixed #states can't hide/show fieldsets.
2010-04-29 03:34:00 +00:00
Dries Buytaert
7745a082d0
- Patch #755030 by jhedstrom, sivaji, kkaefer: #field_prefix()/suffix is displayed before the label. With tests.
2010-04-28 16:11:22 +00:00
Dries Buytaert
19a45ce544
- Patch #765860 by effulgentsia, dww, dereine, mikey_p, sun: make drupal_alter() support multiple alter hooks executed by module weight.
2010-04-28 12:36:26 +00:00
Dries Buytaert
45f4a1e166
- Patch #482816 by sun, Rob Loach: make a consistent wrapper around submit buttons.
2010-04-24 14:49:14 +00:00
Angie Byron
b1026a1a21
#776178 follow-up by David_Rothstein: Fixed PHP 5.3 warning for command line install at the root, rather than the symptom.
2010-04-23 07:50:28 +00:00
Dries Buytaert
3c3cee28b9
- Patch #716496 by JohnAlbin: documentation updates for theme functions.
2010-04-13 15:23:03 +00:00
Dries Buytaert
33f0b0830b
- Patch #426056 by effulgentsia, Berdir, sun, boombatower, tstoeckler: fixed server-side enforcement of #disabled is inconsistent.
2010-04-11 19:00:27 +00:00
Dries Buytaert
bdb7e56143
- Patch #741578 by nikgregory, andypost, Berdir, noahb: 'File' is a reserved word that should not be used.
2010-04-10 17:30:15 +00:00
Dries Buytaert
8173fc1aa3
- Patch #558928 by mgifford, brandonojc, Owen Barton, Everett Zufelt: follow-up on making form element labeling more accessible.
2010-04-07 04:39:59 +00:00
Dries Buytaert
7cd14c719d
- Patch #760738 by yched: includes full form state in unneeded cases.
2010-04-04 13:22:51 +00:00
Dries Buytaert
e0871ec49b
- Patch #671184 by Scott Reynolds, sun, effulgentsia, yched, rfay, Pasqualle: AJAX form can submit inappropriately to system/ajax after failed validation.
2010-03-31 19:34:56 +00:00
Angie Byron
145e717897
#467296 by Frank Ralf, mgifford, Everett Zufelt, Cliff,seutje, Bojhan, kat3_drx, et al: Accessibility improvements for vertical tabs.
2010-03-30 07:05:58 +00:00
Dries Buytaert
c327b4d407
- Patch #684846 by effulgentsia, rfay, quicksketch, aspilicious: AJAX triggered by non-submit element fails if any elements are validated.
2010-03-26 18:58:12 +00:00
Dries Buytaert
d428fe37b9
- Patch #681538 by aspilicious, jhodgdon, trevjs: fixed possibly broken @see also links.
2010-03-26 17:14:46 +00:00
Dries Buytaert
3cf8a44fb8
- Patch #667944 by sun: Javascript #states cannot hide fieldsets, radios, checkboxes.
2010-03-26 12:16:18 +00:00
Angie Byron
50040920bf
#335035 follow-up by andypost: Fixed failure in tests.
2010-03-13 22:33:05 +00:00
Dries Buytaert
160b42812c
- Patch #335035 by boombatower, Damien Tournoud, ksenzee, Berdir, Dave Reid, effulgentsia: Simpletest drupalPost() incorrectly submits input for disabled elements, causing unreliable testing of forms that contain them.
2010-03-12 14:38:37 +00:00
Dries Buytaert
54d7a298d2
- Patch #131432 by dereine, alienbrain, sun: #field_prefix() and #field_suffix() work on textfields only.
2010-03-11 22:46:32 +00:00
Dries Buytaert
cb66dfd766
- Patch #735628 by sun, Jacine: resizable textarea behavior leads to unpredictable results.
2010-03-09 11:45:37 +00:00
Angie Byron
47371be0a5
#414424 by sun, chx, Arancaytar, yched, et al: Introduce Form API #type 'text_format' for additional DX/security around rich text fields.
2010-03-07 23:14:20 +00:00
Angie Byron
903501822d
#260934 by plach, ShawnClark, et al: Fixed Static caching: cannot call drupal_validate_form() on the same form more than once.
2010-03-07 07:49:26 +00:00
Dries Buytaert
7511394e32
- Patch #405832 by jhodgdon, arianek: documentation for hook_forms() was incorrect.
2010-03-06 12:43:45 +00:00
Dries Buytaert
0f4ec342a1
- Patch #727126 by jhodgdon: fixed drupal_execute()/drupal_form_submit() documentation.
2010-03-04 09:07:27 +00:00
Dries Buytaert
7818e2d460
- Patch #676800 by casey, sun, james.elliott, cosmicdreams, seutje, Jacine: made fieldsets work on all browser.
2010-03-03 19:46:26 +00:00
Dries Buytaert
02d6b122b5
- Patch #648170 by fago, sun: form constructors cannot enable form caching or form rebuilding.
2010-03-03 08:43:07 +00:00
Dries Buytaert
aa11756416
- Rollback #642820 -- test results were green but actually failed.
2010-02-12 15:11:29 +00:00
Dries Buytaert
6618e07462
- Patch #642820 by c960657: fixed PHP notices when submitting form with disabled checkbox.
2010-02-12 12:25:49 +00:00
Angie Byron
b7aae4f885
#539220 follow-up by mr.baileys: Fix test failures.
2010-02-04 03:34:21 +00:00
Dries Buytaert
67d3310d7c
- Patch #539220 by dww, mr.baileys: missing validation handlers should not be silently ignored by FAPI.
2010-02-01 19:26:13 +00:00
Dries Buytaert
1e8da1f9ae
- Patch #681538 by aspilicious, jhodgdon: improved documentation, better @see also links.
2010-01-30 07:54:01 +00:00
Dries Buytaert
af3f94b37e
- Patch #693614 by asimmonds: fixed PHPDoc spelling typos.
2010-01-25 10:38:35 +00:00
Angie Byron
0dd1612770
#629794 by yched: Fix Scaling issues with batch API. (with tests)
2010-01-08 06:36:34 +00:00
Angie Byron
ba6ef3017e
#482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons.
2010-01-03 21:01:04 +00:00
Angie Byron
70e53b33c1
#370537 by chx, sun, effulgentsia, quicksketch, eaton, Heine, and yched: Allow buttons to only validate sections of forms, e.g. More buttons. (with tests)
2010-01-02 23:30:53 +00:00
Dries Buytaert
712929ea6a
- Patch #357021 by Kars-T, yched: fixed #after_build_done() set after first after_build() function was run, instead of all after_build() functions.
2010-01-02 10:41:56 +00:00
Dries Buytaert
1b521566bb
- Patch #437018 by JamesAn: convert form_options_flatten() in form.inc to use new static caching API.
2009-12-29 20:16:09 +00:00
Dries Buytaert
20dbb2f2aa
- Patch #190867 by David_Rothstein: fixed function name.
2009-12-17 21:59:31 +00:00
Dries Buytaert
3e82f941ec
- Patch #302240 by fago, sun: fixed button broken.
2009-12-17 17:18:03 +00:00
Dries Buytaert
527a054952
- Patch #644648 by sun: cleaned up, documented, and corrected some ['#token'] code.
2009-12-14 13:51:57 +00:00
Dries Buytaert
516d24d1cd
- Patch #558666 by sun, dropcube: revamp text format/filter configuration for better usability.
2009-12-14 13:32:53 +00:00
Angie Byron
634d308b4f
#658032 by Arancaytar: Fixed theme_tableselect() does not pass on #attributes key.
2009-12-13 14:18:31 +00:00
Dries Buytaert
e8998ea07a
- Patch #570314 by jhodgdon: more details for form_set_value() documentation.
2009-12-05 16:03:51 +00:00
Dries Buytaert
0014a64d37
- Patch #641356 by fago, sun: cache more of () when form caching is enabled.
2009-12-05 14:33:55 +00:00
Dries Buytaert
99128df8d0
- Patch #520946 by jhodgdon: fixed error in API documentation of form_set_error().
2009-12-04 16:29:15 +00:00
Dries Buytaert
99833c6289
- Patch #558928 by brandonojc, mgifford, Owen Barton, Everett Zufelt: improved consistency, flexibility and accessibility of form element labels.
2009-12-02 15:09:16 +00:00
Dries Buytaert
92760988b9
- Patch #648410 by Dave Reid: standardize add 'empty' row functionality to all tables.
2009-12-02 14:56:32 +00:00
Dries Buytaert
65f1c9fa24
- Patch #647130 by fago, sun: cache only once when rebuilding a form.
2009-12-01 16:28:57 +00:00
Dries Buytaert
d8429228ce
- Patch #622922 by chx, fago, sun, effulgentsia: form API clean-up, bugfixes and extra tests.
2009-12-01 03:07:34 +00:00
Dries Buytaert
3db9fc144c
- Patch #644150 by sun: () is stateless, even with enabled caching.
2009-11-30 19:57:20 +00:00
Dries Buytaert
b608482678
- Patch #642702 by sun: form validation handlers cannot alter structure.
2009-11-28 14:39:31 +00:00
Dries Buytaert
fda6b65d58
- Patch #644150 by sun: () is stateless, even with enabled caching.
2009-11-27 15:14:58 +00:00