diff options
| author | root <root@debian8-7-1> | 2017-02-17 09:37:06 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2017-03-21 11:15:07 -0400 |
| commit | 58375f9dd75c717e46908bdfe16cab5049b25c85 (patch) | |
| tree | 1b89679957912294e29eff99b8d9677434d50861 /httemplate/edit/process | |
| parent | 6c011becce219cb693b9923d5f319a8cc5d22695 (diff) | |
RT# 21110 Unparsable age error. Added javascript to validate field prior to submitting the form. Also place checked prior entry in database.
Diffstat (limited to 'httemplate/edit/process')
| -rw-r--r-- | httemplate/edit/process/part_event.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_event.html b/httemplate/edit/process/part_event.html index 4d52e7bc6..467d69ac3 100644 --- a/httemplate/edit/process/part_event.html +++ b/httemplate/edit/process/part_event.html @@ -40,6 +40,7 @@ }; } elsif ( $info->{'type'} eq 'freq' ) { $value = '0' if !length($value) and !$info->{'allow_blank'}; + $value = '0' if $value =~ /[^\d]/; $value .= $params->{$cgi_field.'_units'} if length($value); } |
