I'd like to give a form user the required Date field, but only the year they were born in -- no month, no day, just YYYY. Can that be done?
I'd like to give a form user the required Date field, but only the year they were born in -- no month, no day, just YYYY. Can that be done?
You could just have a dropdown with years and make it a required field. Then you'll have exactly what you need.
Um... no. :)
Nothing like a pull-down that has nearly 100 years on it to turn off a person taking a "quick poll" that starts by asking what Year they were born.
Any other suggestions on how to make this as succinct and simple as possible?
How would you like it to work? You could use an input field and then gfield_validation to test that it is just a number between a certain range?