dr:validate_settings
Differences
This shows you the differences between two versions of the page.
| dr:validate_settings [2005/11/06 21:24] – created fgm | dr:validate_settings [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | On 2005/11/06: | ||
| + | < | ||
| + | 22: | ||
| + | 22: | ||
| + | osinet to ensure users applying inconsistent settings can't store them. | ||
| + | osinet I mean: to ensure admins applying inconsistent settings can't store them. | ||
| + | 22: | ||
| + | chx osinet: return system_settings_form(' | ||
| + | 22: | ||
| + | chx osinet: any more questions? | ||
| + | 22: | ||
| + | chx osinet: this has nothing to do with system_settings_form | ||
| + | osinet chx: ah ? this is the function you just gave ? | ||
| + | chx osinet: _any_ form can have a $form_id .' | ||
| + | 22: | ||
| + | chx osinet: so if you are calling system_settings_form(' | ||
| + | chx then you want mymodule_foo_validate | ||
| + | osinet chx: actually, system_settings_form has only one param and you're using two of them ? | ||
| + | 22: | ||
| + | chx // $Id: system.module, | ||
| + | osinet chx: oh, sorry, I forgot to mention I was using 4.6, not head | ||
| + | 22: | ||
| + | chx you can try | ||
| + | chx but i can't help | ||
| + | osinet chx: thanks anyway. At least, I'll have an idea how to do it when I rewrite for 4.7 | ||
| + | </ | ||
