replace date field datepicker with Calendar view?
I'm developing a job tracking application. There is a form, Jobs, that tracks each new customer job. Within that form, there is a subform for entering appointments with a client for estimates, jobs, etc. There can be more than one appointment for a job.
The subform, events, has the basics for scheduling an event (event name, start datetime, end datetime, etc). I also have a calendar view of the events form. The event form is basically a schedule of all past and upcoming meetings with clients.
When filling out the Job form, the user comes to the subform to make an appointment and clicks the "+" and gets a new event row to fill out. Problem is, entering the start/end datetimes, the user just sees a small calendar datetime picker, which is pretty much useless as we need to see the entire schedule of events to see what openings we have.
Can I change this behavior to show the calendar view, allow the user to click on a desired date and time on the calendar and return to the job form with the new subform record now showing in the subform field?
I'm kind of guessing script on user input event might open the calendar (open_url?), but beyond that I'm pretty lost. Am I going to need a stateless form for the job form data?