Add type="button" to calendar button
Add type="button" to calendar button

So it doesn't default type="submit" and submit  the form when clicked. 
GOVTNZ/userforms-datepicker,GOVTNZ/userforms-datepicker,GOVTNZ/userforms-datepicker