How to Change a Drupal Webform FORM ID

You would think that changing a form ID in webforms is easy. You should just go into the backend and modify it if you need to. But you're going to have to use hook_alter_form.

Here is an example of how to change the ID of a form in Drupal 7.

Make sure you have an if or case statement so that you don't change the ID to every form, into the same thing!

, ,