You can do it,
you just need the node id and then use the id like in hook_form_ <FormID> _alter ()
generated FORMID: webform_client_form_ <NODEID>
where NODEID is the node identifier
so if you have a module called mymodule and node with id 44 that has a web form
function mymodule_form_webform_client_form_44_alter(&$form, &$form_state) {
HerrSerker
source share