in reply to variables as classes
Why not just validate the user input early on, and send them back to the form entry if they do not provide an email address? I am fond of using Data::FormValidator and HTML::FillInForm for this. If you use CGI::Application then CGI::Application::Plugin::ValidateRM encapsulates this behaviour for you quite nicely.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: variables as classes
by nmerriweather (Friar) on Sep 04, 2006 at 06:04 UTC |