You are here

function tablefield_rebuild_form in TableField 7.2

Same name and namespace in other branches
  1. 7.3 tablefield.module \tablefield_rebuild_form()
  2. 7 tablefield.module \tablefield_rebuild_form()

Helper function to rebuild the table structure without submitting the form.

1 string reference to 'tablefield_rebuild_form'
tablefield_field_widget_form in ./tablefield.module
Implements hook_widget_form().

File

./tablefield.module, line 1347
Provides a set of fields that can be used to store tabular data with a node.

Code

function tablefield_rebuild_form($form, &$form_state) {

  // Maintain the tablefield data.
  $form_state['tablefield_rebuild'] = $form_state['input'];
  $form_state['rebuild'] = TRUE;
}