Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This build uses a new method to replace the form state /before/ a form gets built. This requires a core patch to add a drupal_alter to drupal_get_form. Adding a core patch is not ideal, but avoids any weirdness of building the same form twice.