Is it possible to alter the validation function when using inline_entity_form ?
Here is an example module that I'm using where I use devel to validate if I can hook into drupals and IEF validate functions (as pointed out by Shawn Conn).
function mymodule_inline_entity_form_entity_form_alter(&$entity_form, &$form_state)
{
$entity_form['#element_validate'] = array('mymodule_inline_entity_form_entity_form_validate');
}
function mymodule_inline_entity_form_entity_form_validate(&$entity_form, &$form_state)
{
// No effect
form_set_error('field_price', '!Validate');
form_set_error('field_bucket_list', '!Validate');
}
I have one content type which has a title and a decimal field called field_price and a second type which has the IEF field (called field_bucket_list).