I've created a helper, that I can pass a DateTime object to, and an identifier (string). It would then output three selects showing DD | MM | YYYY (or whichever way you wacky americans want your dates).
I'm adding a common component to the start of each select's Name.
- dateselector-day-{identifier}
- dateselector-month-{identifier}
- dateselector-year-{identifier}
What I'd like, is to set a filter on the "OnActionExecuting" of the site controller parent to capture all form posts, skim for any fields starting with "dateselector-" add the three (day/month/year) fields into one variable named {identifier} and pass that along.
Yep, I'm attempting to replicate a Rails helper (date_select)...