aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/js_validation_msgs.html
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-09-05 18:29:39 +0100
committerStruan Donald <struan@exo.org.uk>2011-09-05 18:29:39 +0100
commit3ab73a6823bb5ce0b226a9fa96d4a924d9baf996 (patch)
tree811d356bf2b40a0db91895865285d96a5b57fe0a /templates/web/default/js_validation_msgs.html
parenteb823376088f47abf23050a0193225a45b51d6d3 (diff)
use class to identify forms to be validate and do initial validation for update and sign-in
Diffstat (limited to 'templates/web/default/js_validation_msgs.html')
-rw-r--r--templates/web/default/js_validation_msgs.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/web/default/js_validation_msgs.html b/templates/web/default/js_validation_msgs.html
index 140f22964..2466ce175 100644
--- a/templates/web/default/js_validation_msgs.html
+++ b/templates/web/default/js_validation_msgs.html
@@ -1,5 +1,6 @@
<script type="text/javascript">
validation_strings = {
+ update: '[% loc('Please enter a message') %]',
title: '[% loc('Please enter a subject') %]',
detail: '[% loc('Please enter some details') %]',
name: {
@@ -7,6 +8,10 @@
validName: '[% loc('Please enter your full name, councils need this information - if you do not wish your name to be shown on the site, untick the box') %]',
},
category: '[% loc('Please choose a category') %]',
+ rznvy: {
+ required: '[% loc('Please enter your email') %]',
+ email: '[% loc('Please enter a valid email') %]',
+ },
email: {
required: '[% loc('Please enter your email') %]',
email: '[% loc('Please enter a valid email') %]',