A nice way to let user select a number of year/month/day, and how to save into database
I want to let my user select a number and a time unit to set a limit time.
This is the first design.
download bmml source – Wireframes created with Balsamiq Mockups
I'm decide save data by this way, but is there any better design for UX?