Simplenews - how pass values from own input
function my_module_form_alter(&amp;$form, &amp;$form_state, $form_id){
  if($form_id == 'YOUR_FORM_ID') {
    $form['field_name'] = array(
      '#type' =&gt; 'textfield',
      '#title' =&gt; t('Name'),
    );
    $form['field_name_submit'] = array(
      '#type' =&gt; 'submit',
      '#value' =&gt; t('SAVE'),
      '#submit' =&gt; array('my_module_name_submit'),
    );
  return $form;
  }
}

function my_module_name_submit($form,&amp;$form_state) {
  if ($form_state['values']['field_name']) {
    variable_set('Name', $form_state['values']['field_name']);
  }
}


variable_set stores textfield value in variable table. You can access/get this value using variable_get as mentioned below


  variable_get('Name')