Hide the form by (inline) CSS (display: none
) and show it with JavaScript (document.getElementById(...).style.display="block"
). Place the JavaScript in the same file as your event handlers.
That way the form will be hidden until the Javascript has been loaded. But actually, you should not rely on Javascript to prevent 'unintended consequences'. Users can always disable Javascript.