How can I change the ID of a hidden element (created with the Drupal 6 webform module) using hook_form_alter()?
The ID that it outputs is something like ‘#edit-submitted-component-name’. I need the ID to be something very custom and I need to avoid changing it with Javascript. The form API does not support the #atrributes token on hidden elements, so I can’t set the ID via hook_form_alter();
Any suggestions would be really helpful. Thank You.