Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I have used subform module to emebed subfrom with some option with required field for example. When I submit a wrapper form error message for this required field does not show.
My code for subform
$form = array(
'#type' => 'subform',
'#subform_id' => 'my_subform',
'#subform_arguments' => array($nid),
'#required' => TRUE,
);
Comments