Skip to main content
7 events
when toggle format what by license comment
Dec 18, 2019 at 15:55 comment added user72672 You can try to write a mytheme_form_alter and dump the $form_id to see what the form ID is for the form you try to alter.
Dec 18, 2019 at 15:52 comment added MrFox Strangely that doesn't work either. I'm wondering if my function name is incorrect.
Dec 18, 2019 at 11:44 comment added user72672 @MrFox Sorry description should be #description, I have updated my answer :)
Dec 18, 2019 at 11:44 history edited user72672 CC BY-SA 4.0
added 1 character in body
Dec 18, 2019 at 11:21 comment added MrFox Thanks, I printed the array and yes the field name is field_event_date_value2. But I can't get it to work using the above code.
Dec 18, 2019 at 10:50 history edited user72672 CC BY-SA 4.0
added 56 characters in body
Dec 18, 2019 at 10:42 history answered user72672 CC BY-SA 4.0