I am customizing formmail.pl and I would like to utilize a message error box instead of the pre-written html error page. What would the syntax be to prompt a message box?
Ok, I didn't have any luck with javascript. It could be the perl file I'm using redirecting to HTML before it gets to an alermsg so it doesn't work. Can I just use $alertmsg in the perl file instead of using java?
I am trying to change the current error result for formmail. Right now the script redirects the user to an html page showing the fields they didn't fill in. I'd like to prompt an alert message showing these missing fields instead of the messy html error page. I think my biggest issue is the script redirects the user to the html page before it actually runs the error script. I'm not sure where this is happening. I think I have the syntax correct but when the script redirects to html then prompts for an alert it doens't work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.