Drupal’s Form API helps developers build complex, extendable user input forms with minimal code. For most common Form UI tasks, the #states system eliminates the need to write custom JavaScript….