diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-05 20:33:13 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-05 20:33:13 +0200 |
commit | 657430569823f8c946eb7b6e3d2bee3ba08c87da (patch) | |
tree | dac46bea088bceba616fa380c3522390ef352451 /index.cgi | |
parent | c95a40eb34ceaf52aa88214b53ea6eb63fe6cbbd (diff) |
Use custom friendlier error messages for missing input.
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,12 +47,14 @@ my $form = CGI::FormBuilder->new( $form->field( name => 'name', class => 'form-control', + message => '- Please provide your name', ); $form->field( name => 'email', id => 'inputEmail', class => 'form-control', placeholder => 'Email', + message => '- Please provide your email address', ); $form->field( name => 'human', |