List Info

Thread: formsapi question: saving additional fields' data




formsapi question: saving additional fields' data
user name
2006-04-25 21:39:34
> You can add a #submit much like a #validate.

Thanks Earl!

Specifically (in case anyone else also missed this), you add
an element to 
the $form's #submit attribute array, with the key being the
function to send 
the form values to and the value being an array of arguments
to use in 
addition to the default ones.  Example:

$form['#submit']['examplemodule_submit'] = array();

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )