Restricts the Country field to "United States" when the class "us-only-form" is added to the form block. It also disables the TranslateFields component when this is active to allow users to create forms with a limited number of state options.
It matches the format of the "United States" select option value to "United States", "US" or "USA", depending on how the client has set up this field.
The client will have to set up the region field accordingly - such as changing it to a select type and adding the values they want.
Restricts the Country field to "United States" when the class "us-only-form" is added to the form block. It also disables the TranslateFields component when this is active to allow users to create forms with a limited number of state options.
It matches the format of the "United States" select option value to "United States", "US" or "USA", depending on how the client has set up this field.
The client will have to set up the region field accordingly - such as changing it to a select type and adding the values they want.
Test page: https://act.oceana.org/page/147625/petition/1?assets=us-only-form