Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow reduced specificity on Address fields #94

Open
proimage opened this issue Nov 6, 2019 · 2 comments
Open

Allow reduced specificity on Address fields #94

proimage opened this issue Nov 6, 2019 · 2 comments

Comments

@proimage
Copy link

proimage commented Nov 6, 2019

The problem (description, use case, screenshots...)

Sometimes, I want to provide a field where the user only specifies a City and State (or City and Country for non-US countries). An architectural project, for example, doesn't necessarily need a full address. Other times I might only need a State, or only a City.

The solution (that feature you'd like to see)

The ability to selectively enable/disable specific subfields of the Address field would solve all those needs.

Alternatives you've considered

Making a custom Craft dropdown field with 50 states. #yeahnothanks.

@proimage proimage changed the title Allow reduced accuracy on Address fields Allow reduced specificity on Address fields Nov 6, 2019
@BenParizek
Copy link
Member

BenParizek commented Nov 9, 2019

Thanks @proimage. I agree this would be a nice setting to offer. I can't promise a timeline but adding this to our list.

In the meantime, while it may not address the situation as nicely, there are plugins for States and Countries specifically for Sprout Forms:

https://plugins.craftcms.com/sprout-forms-us-states
https://github.com/barrelstrength/craft-sprout-forms-countries (we haven't had a chance to add this one to the store as of my posting this, but it can be installed via composer)

It is on our list to update those to support Craft or add this feature to Sprout Fields at some point.

@RickKukiela
Copy link

Need this too... Just added the field type and went to edit data and it wont let me save because I didnt enter an address line. sigh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants