Im trying to add additional options for webform component but I seem to be unable to read the data out. I successfully managed to save the data into "extra" inside the db. But I'm unable to read it out again.
what I basically did is this:
function webform_maxlenght_form_webform_component_edit_form_alter(&$form, &$form_state, $form_id) {
$form['extra']['message'] = array(
'#type' => 'textarea',
'#title' => 'Message',
'#default_value' => isset($form['extra']['message']) ? $form['extra']['message'] : NULL,
);
}
It saves it perfectly fine into the database under the field "extra" like I wanted but I'm lost as to how to use it later.
Any help is greatly appreciated, if I'm going into a completely wrong direction please say so