So the code that I have so far is:
&
It works when input type="button" is replaced with input type="submit" for the default button which needs to be triggered.