Able to choose the inline calendar with hidden field

It would be very nice to have the option to use a hidden field for the inline calendar. 

This class is in need of a refactoring, but immediately could be solved this way  :)