diff -r -p1 richform/examples/richform_example/richform_example.module richform-uj/examples/richform_example/richform_example.module
*** richform/examples/richform_example/richform_example.module	2012-09-07 19:48:18.000000000 +0200
--- richform-uj/examples/richform_example/richform_example.module	2012-09-07 19:40:02.000000000 +0200
*************** function richform_example_menu() {
*** 12,14 ****
  
! function richform_example_test_form(&$form_state) {
    $form = array();
--- 12,14 ----
  
! function richform_example_test_form($form_state) {
    $form = array();
diff -r -p1 richform/examples/richform_example_plugin/richform_example_plugin.module richform-uj/examples/richform_example_plugin/richform_example_plugin.module
*** richform/examples/richform_example_plugin/richform_example_plugin.module	2012-09-07 19:48:18.000000000 +0200
--- richform-uj/examples/richform_example_plugin/richform_example_plugin.module	2012-09-07 19:41:46.000000000 +0200
***************
*** 2,4 ****
  
! function richform_example_plugin_richform_validate($id, $element, &$form_state, $data) {
    foreach ($data as $example_plugin => $error_message) {
--- 2,4 ----
  
! function richform_example_plugin_richform_validate($id, $element, $form_state, $data) {
    foreach ($data as $example_plugin => $error_message) {
*************** function richform_example_plugin_richfor
*** 14,16 ****
  
! function richform_example_plugin_richform_validate_js($element, &$form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_example_plugin') . '/richform_example_plugin.js');
--- 14,16 ----
  
! function richform_example_plugin_richform_validate_js($element, $form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_example_plugin') . '/richform_example_plugin.js');
diff -r -p1 richform/richform_api.module richform-uj/richform_api.module
*** richform/richform_api.module	2012-09-07 19:48:18.000000000 +0200
--- richform-uj/richform_api.module	2012-09-07 19:41:06.000000000 +0200
***************
*** 2,4 ****
  
! function richform_api_element_info_alter(&$type) {
    if (!isset($type['textfield']['#process'])) {
--- 2,4 ----
  
! function richform_api_element_info_alter($type) {
    if (!isset($type['textfield']['#process'])) {
*************** function richform_api_element_info_alter
*** 10,12 ****
  
! function richform_api_element_validate($element, &$form_state) {
    if (isset($element['#richform'])) {
--- 10,12 ----
  
! function richform_api_element_validate($element, $form_state) {
    if (isset($element['#richform'])) {
*************** function richform_form_set_error($id, $m
*** 37,39 ****
  
! function richform_api_element_process($element, &$form_state) {
    $js = FALSE;
--- 37,39 ----
  
! function richform_api_element_process($element, $form_state) {
    $js = FALSE;
*************** function richform_api_element_process($e
*** 47,49 ****
            drupal_add_js(drupal_get_path('module', 'richform_api') . '/richform_api.js', array('weight' => -1));
!           $settings['RichForm'][$action][$element['#id']][$plugin] = call_user_func('richform_' . $plugin . '_richform_' . $action . '_js', $element, &$form_state, $plugin_data);
            $js = TRUE;
--- 47,49 ----
            drupal_add_js(drupal_get_path('module', 'richform_api') . '/richform_api.js', array('weight' => -1));
!           $settings['RichForm'][$action][$element['#id']][$plugin] = call_user_func('richform_' . $plugin . '_richform_' . $action . '_js', $element, $form_state, $plugin_data);
            $js = TRUE;
diff -r -p1 richform/richform_case/richform_case.module richform-uj/richform_case/richform_case.module
*** richform/richform_case/richform_case.module	2012-09-07 19:48:18.000000000 +0200
--- richform-uj/richform_case/richform_case.module	2012-09-07 19:41:36.000000000 +0200
*************** function richform_case_richform_correcti
*** 11,13 ****
  
! function richform_case_richform_correction_js($element, &$form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_case') .'/richform_case.js');
--- 11,13 ----
  
! function richform_case_richform_correction_js($element, $form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_case') .'/richform_case.js');
diff -r -p1 richform/richform_regex/richform_regex.module richform-uj/richform_regex/richform_regex.module
*** richform/richform_regex/richform_regex.module	2012-09-07 19:48:18.000000000 +0200
--- richform-uj/richform_regex/richform_regex.module	2012-09-07 19:41:26.000000000 +0200
***************
*** 1,3 ****
  <?php
! function richform_regex_richform_validate($id, $element, &$form_state, $data) {
    foreach ($data as $regex => $error_message) {
--- 1,3 ----
  <?php
! function richform_regex_richform_validate($id, $element, $form_state, $data) {
    foreach ($data as $regex => $error_message) {
*************** function richform_regex_richform_validat
*** 9,11 ****
  
! function richform_regex_richform_correction($id, $element, &$form_state, $data) {
    foreach ($data as $from => $to) {
--- 9,11 ----
  
! function richform_regex_richform_correction($id, $element, $form_state, $data) {
    foreach ($data as $from => $to) {
*************** function richform_regex_richform_correct
*** 15,17 ****
  
! function richform_regex_richform_validate_js($element, &$form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_regex') . '/richform_regex.js');
--- 15,17 ----
  
! function richform_regex_richform_validate_js($element, $form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_regex') . '/richform_regex.js');
*************** function richform_regex_richform_validat
*** 27,29 ****
  
! function richform_regex_richform_correction_js($element, &$form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_regex') . '/richform_regex.js');
--- 27,29 ----
  
! function richform_regex_richform_correction_js($element, $form_state, $data) {
    drupal_add_js(drupal_get_path('module', 'richform_regex') . '/richform_regex.js');
