Popup That will take user input

I have created a Custom Button . On clicking this button , it should take user input which should save in my custom field(Field type is Date).
How should I achieve this?

any help or any link that I can refer?