I have a web application that my clients want to be able to full text search and save their search criteria but not the results. The problem I have is that they have to press the save button twice to save the document if they perform the search. If they press the save button without executing the search, they only have to press the save button once. The save button executes javascript to check that the required fields have been entered and then issues a document.forms[0].submit command to submit the document. I am grateful for any help.