You are here

function feed_import_edit_feed_form_validate in Feed Import 7.3

Same name and namespace in other branches
  1. 7 feed_import.module \feed_import_edit_feed_form_validate()
  2. 7.2 feed_import.module \feed_import_edit_feed_form_validate()

Edit feed form validate

1 string reference to 'feed_import_edit_feed_form_validate'
feed_import_import_feed_form in ./feed_import.module
Import form

File

./feed_import.module, line 1130
User interface, cron functions for feed_import module

Code

function feed_import_edit_feed_form_validate($form, &$form_state) {
  if (!empty($form_state['values']['machine_name'])) {
    if (is_numeric($form_state['values']['machine_name']) || is_numeric($form_state['values']['machine_name'][0])) {
      form_error($form['machine_name'], t('Machine name must be not numeric!'));
    }
  }
}