How to transfer data from the program's created field to the standard text, while saving the node? Using hook_form_alter(), I created 4 form fields. When saving a node, I want to extract data from them and transferred to a standard field.

Using foreach(), I can form a string and then transfer it to the standard field, but how do I get the data from the form input, while saving material?

I use hook_node_presave($node) but it already takes $node as argument, in which there are no custom fields. I do not know how to transfer them here and already work with hook_node_presave().

$form['field_cadastral_num'] = array(
    '#type' =&gt; 'fieldset',
    '#title' =&gt; 'test',
    '#attributes' =&gt; array(
        'class' =&gt; array(
            'field-type-text',
            'field-name-property_node_form'
        ),
    ),
  '#weight' =&gt; $instance['widget']['weight'],
);  
$form['field_cadastral_num']['cell'][] = array(
  '#type' =&gt; 'textfield',  
  '#default_value' =&gt; '', 
  '#size' =&gt; 3, 
  '#maxlength' =&gt; 3,
  '#name' =&gt; 'kadastr[0]',
  '#value' =&gt; ''
);
$form['field_cadastral_num']['cell'][] = array(
  '#type' =&gt; 'textfield',  
  '#default_value' =&gt; '', 
  '#size' =&gt; 3, 
  '#delta' =&gt; 3, 
  '#maxlength' =&gt; 3,
  '#name' =&gt; 'kadastr[1]',
  '#value' =&gt; '',
  '#prefix' =&gt; ':'
);  
$form['field_cadastral_num']['cell'][] = array(
  '#type' =&gt; 'textfield',  
  '#default_value' =&gt; '', 
  '#size' =&gt; 6, 
  '#maxlength' =&gt; 6,
  '#name' =&gt; 'kadastr[2]',
  '#value' =&gt; '',
  '#prefix' =&gt; ':'
);
$form['field_cadastral_num']['cell'][] = array(
  '#type' =&gt; 'textfield',  
  '#default_value' =&gt; '', 
  '#size' =&gt; 3, 
  '#maxlength' =&gt; 3,
  '#name' =&gt; 'kadastr[3]',
  '#value' =&gt; '',
  '#prefix' =&gt; ':'
);
I would suggest you create the 'cell' fields through the Drupal UI (admin/structure/types/manage/xxxx/fields) so they are registered correctly as part of the content type, then their values will be available in hook_node_presave().