Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment #N
Problem/Motivation
It is currently a bit confusing when choosing a Twitter Card from the dropdown and then having to figure out which fields are neccessary for that card.
Proposed resolution
We should hide un-needed fields when certain cards are selected.
Remaining tasks
Update code to use #states
https://api.drupal.org/api/drupal/developer%21topics%21forms_api_referen...
Comments
Comment #1
Elijah LynnComment #2
DamienMcKennaThat's a good idea!
Comment #3
DamienMcKennaComment #4
DamienMcKenna