I have a module with a form_name, form_name_validate and form_name_execute. In cvs version the module work, in 4.7 the function form_name_execute don't start..... is a bug of 4.7? The code:
<?php
function test2_form_help($section='') {
$output = '';
switch ($section) {
case "admin/modules#description":
$output = t("Insert test2_form");
break;
}
return $output;
}
function test2_form_perm() {
return array('access content', 'access test2_form', 'administer test2_form');
}
function test2_form_menu() {
$items = array();
$items[] = array(
'path' => 'test2_form',
'title' => t('test2_form insert'),
'callback' => 'test2_form_exe',
'access' => user_access('access test2_form'),
'type' => MENU_NORMAL_ITEM );
return $items;
}
function test2_form_exe() {
$output .= test2_form_form();
print theme('page', $output);
}
function test2_form_form(&$value = NULL)
{
$form['#method'] = 'post';
$form['#action'] = 'test2_form';
$form['name'] = array(
'#type' => 'textfield',
'#title' => t('Is Only a test2_form_form'),
'#size' => 50,
'#maxlength' => 50,
'#required' => TRUE,
'#value' => $value['name'],
);
$form['submit'] = array('#type' => 'submit', '#value' => t('confirm'));
$output = drupal_get_form('test_form', $form);
return $output;
}
function test_form_validate($form_id, $form_values) {