[development] Saving admin settings
John Fiala
jcfiala at gmail.com
Tue Jun 22 18:05:19 UTC 2010
Well, what's the $form like, is the main question. Remember that the
name of form elements is what gets stored in the variable table, and
that you need to set the #default_value of the form elements to
variable_get('name_of_form_element')
On Tue, Jun 22, 2010 at 12:02 PM, Jeff Greenberg <jeff at ayendesigns.com> wrote:
> Lately, it seems that I'm stumped by what turns out to be 'weak eyes.'
> Here's another. I have a callback to the function in a module that provides
> the admin settings form for the module.
>
>
> The form appears just fine, and functions correctly. At the end of my form
> definition I have the obligatory
>
> return system_settings_form($form);
>
>
> The issue is that none of the form data is stored. The form is generic...no
> submit handler specified.
>
>
> Jeff
>
>
>
--
John Fiala
www.jcfiala.net
More information about the development
mailing list