It contains a simple form that requires the user to fill out the name and email and click the submit button. autofocus. In JavaScript, button elements have a disabled property that you can set to prevent clicking on the button. Yes I was able to hide the entire submission form using the same method. Pick the appropriate Record Type. Found inside – Page 72 My Test Page 2. Change your submit button so that it invokes the DeleteConfirmation function when it is clicked: