in reply to Re: CGI::FormBuilder & custom msgs
in thread CGI::FormBuilder & custom msgs
I am checking the DB etc, that's what the $cfg::err_flag var is for. It gets set if any of the subs have a problem. When an error does occur, the prog does go into the relevant block of code, that's what the "log_msg("mytrap");" bit confirms, but as I said, although I set the message option as shown, the form re-renders, but the msg does NOT appear and the debug option (which I also set) does not seem to produce any output.