aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/validation_rules.js
Commit message (Collapse)AuthorAgeLines
* prevent including email address in report titleStruan Donald2019-08-02-1/+1
| | | | | | | | If autofill on Chrome is turned on and has saved the user's login it can autofill the user's email address in the report title, so add validation to make sure the title does not look like an email. Fixes #2570
* [UK Councils] Fix undefined body_validation_rules.Matthew Somerville2018-12-11-2/+0
| | | | The core validation_rules.js is not included on e.g. the front page.
* [UK] council specific javascript validationStruan Donald2018-11-26-1/+5
| | | | | | | | | use the bodies array of reporting_data to check if there is council specific javascript validation and, if so, load that into the JS validation rules. This does mean we reset the validation rules each time you select a category.
* Add length/common password checking.Matthew Somerville2018-02-06-1/+7
|
* Use static files for validation_rules.js.Matthew Somerville2016-07-04-0/+5
No need for this to be generated via a template, it only differs occasionally by cobrand.