daan/edd-non-required-state-field

Dynamically detect if State should be a required field, based on the selected Country.

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:wordpress-plugin

pkg:composer/daan/edd-non-required-state-field

v1.0.1 2025-04-13 10:51 UTC

This package is auto-updated.

Last update: 2025-12-13 12:21:20 UTC


README

Dynamically detect if State should be a required field, based on the selected Country.

For any country with a predefined list of states, e.g. US and CA, the State field is a required field. For any other country, where the State field is a text box, it becomes a non-required entry.

Inspired by and an enhanced version of: http://library.easydigitaldownloads.com/checkout/non-required-card-state.html