To save memory, you can use a single (popup) calendar object to manage multiple input fields. The following sample shows you how to do it.