Hello Garth, Monday, November 1, 2004, 2:52:48 PM, you wrote: GHS> I have a form and Im doing a check on submission to check whether GHS> there are any blank field and if there are I want to call GHS> function.. error_popup(); does this make anymore sense to you. Then keep it all within the JavaScript and write a JavaScript function to handle the error_popup and do whatever it needs to do before submitting to the server. Sorry but this isn't a PHP question. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough to know everything." - Oscar Wilde -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php