How to clear error message ?
I have a cfform where I enter a part number for review. When submitted, I go the action page and perform a query to search using the form.partNumber. If the qry.recordcount is 0, I then do a url location to go back to the review page and display an error message, 'Part Number not found'. This works fine.
The problem is that the error message seems to be stuck in the url and whenever the review page is refreshed, the error message still displays.
How can I get the error message to display only when the error occurs, then clear and not display again ?
