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.
I'm working witch webform module. I want to pass a new webform cretaed, when i used this function drupal_render(drupal_get_form( 'webform-client-form-9')); it's not work. the same function worked fine when i call a user register drupal_render(drupal_get_form( 'user_register'')).
Can you help me?
Thanks in advance
Comments
Comment #1
sandipmkhairnar CreditAttribution: sandipmkhairnar commentedTry this one.
Comment #2
quicksketchYep, Webform forms are separated with underscores in their IDs, not hyphens.
Comment #3
makenson CreditAttribution: makenson commentedThanks it's work for me