You could add a type="hidden" input element to check for.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Frankly, I've never used type="button", so I'm not sure if you are encountering a browser-specific problem or a general HTML issue. What does a button-type provide for you that a submit-type does not? Alternatively, you could use a button element with type="submit", perhaps?
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks