In my registration page, if i didnt fill the mandatory field and click the submit button, its showing an error message. If i click on the refresh button,again the same error message is appearing. Is it possible to display the error message in an alert box so that the i can able to close the error message.Can anyone help me in achieving it

Comments

rajeshh’s picture

Can anyone give some tips

EliseVanLooij’s picture

You'll find the error handling functions in common.inc in the includes folder, you could override those. And /or you could use the *.tpl.php in your chosen theme to customize the way the errors are displayed. But, you know, all that work just to produce an alert box that you then dismiss?