Using #states ['required'] based on input Link https://drupalzone.com/tutorial/drupal-form-api/55-making-fields-required-condi⦠How to make a form element required depending on another form item.