I try to add this calendar to the popup dialog for user to select the date.
Do anyone have idea for that?
Are you taking about the Acrobat JS add-in from Formrouter?
Have you looked at the 900+ lines of code that generates the visible calendar from the 42 hidden fields used for this?
Why not just have the user enter a formatted date string and then validate the entry in code? The tricky part is dealing with February in the century years.