the code you had was the Currant page submit trigger
the code I had you change it to was the any form post trigger.
the current page submit trigger wont work if the $_SERVER["HTTP_REFERER"] variable is turned off on your server.
you can make the server validation behavior generate the shorter code by selecting the Any form post trigger.