form and calendar posting correct data to database.