@@ -582,7 +582,7 @@ module.exports = {
582
582
} ,
583
583
'crime-location-phone' : {
584
584
className : [ 'govuk-input' , 'govuk-input--width-20' ] ,
585
- validate : [ { type : 'maxlength' , arguments : 20 } ]
585
+ validate : [ 'required' , { type : 'maxlength' , arguments : 20 } ]
586
586
} ,
587
587
'crime-another-location' : {
588
588
isPageHeading : true ,
@@ -646,7 +646,7 @@ module.exports = {
646
646
} ,
647
647
'crime-another-location-phone' : {
648
648
className : [ 'govuk-input' , 'govuk-input--width-20' ] ,
649
- validate : [ { type : 'maxlength' , arguments : 20 } ]
649
+ validate : [ 'required' , { type : 'maxlength' , arguments : 20 } ]
650
650
} ,
651
651
'report-person' : {
652
652
mixin : 'radio-group' ,
@@ -796,7 +796,7 @@ module.exports = {
796
796
} ,
797
797
'report-person-location-phone' : {
798
798
className : [ 'govuk-input' , 'govuk-input--width-20' ] ,
799
- validate : [ { type : 'maxlength' , arguments : 20 } ]
799
+ validate : [ 'required' , { type : 'maxlength' , arguments : 20 } ]
800
800
} ,
801
801
'report-person-location-email' : {
802
802
validate : [ 'email' , { type : 'maxlength' , arguments : 100 } ]
@@ -880,7 +880,7 @@ module.exports = {
880
880
} ,
881
881
'report-person-occupation-company-phone' : {
882
882
className : [ 'govuk-input' , 'govuk-input--width-20' ] ,
883
- validate : [ { type : 'maxlength' , arguments : 20 } ]
883
+ validate : [ 'required' , { type : 'maxlength' , arguments : 20 } ]
884
884
} ,
885
885
'report-person-occupation-company-manager' : {
886
886
mixin : 'input-text' ,
@@ -940,7 +940,7 @@ module.exports = {
940
940
} ,
941
941
'report-person-study-phone' : {
942
942
className : [ 'govuk-input' , 'govuk-input--width-20' ] ,
943
- validate : [ { type : 'maxlength' , arguments : 20 } ]
943
+ validate : [ 'required' , { type : 'maxlength' , arguments : 20 } ]
944
944
} ,
945
945
'report-person-study-email' : {
946
946
validate : [ 'email' , { type : 'maxlength' , arguments : 100 } ]
@@ -1196,7 +1196,7 @@ module.exports = {
1196
1196
} ,
1197
1197
'company-phone' : {
1198
1198
className : [ 'govuk-input' , 'govuk-input--width-20' ] ,
1199
- validate : [ { type : 'maxlength' , arguments : 20 } ]
1199
+ validate : [ 'required' , { type : 'maxlength' , arguments : 20 } ]
1200
1200
} ,
1201
1201
'company-email' : {
1202
1202
formatter : [ 'removespaces' ] ,
0 commit comments