Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
searching a mailchimp form using:
function example_form_alter(&$form, &$form_state, $form_id) {
dsm($form_id); // print form ID to messages
dsm($form); // pretty print array using Krumo to messages
}
returns nothing... any ideas?
Thanks
Comments
Comment #2
samuel.mortenson@Funkwarrior I've definitely used hook_form_alter on a Mailchimp signup form before, could you post the code you're using, and if you're putting this in theme, verify that the theme is the same as the theme used to display the form (frontend forms can't alter backend forms)?