You are here

function values_add_more_submit in Values 7

Same name and namespace in other branches
  1. 6 values.module \values_add_more_submit()

Submit handler to add more values to a value set. This handler is used when javascript is not available. It makes changes to the form state and the entire form is rebuilt during the page reload.

1 string reference to 'values_add_more_submit'
values_form in ./values.module
Form for adding a new value set.

File

./values.module, line 375
API for managing reusable value sets.

Code

function values_add_more_submit($form, &$form_state) {
  $form_state['values_count']++;
  $form_state['rebuild'] = TRUE;
}