add zip field

This commit is contained in:
SujathaAnishetty 2025-12-11 10:47:53 -05:00
parent defc868584
commit 3daf9e16d2
3 changed files with 13 additions and 3 deletions

View file

@ -35,8 +35,8 @@ const errorMessages = Object.freeze({
POLICY_NUMBER_FORMAT: 'Please enter an alpha-numeric string', POLICY_NUMBER_FORMAT: 'Please enter an alpha-numeric string',
PHONE_NUMBER_REQUIRED: 'Please specify a valid phone number, the format is "###-###-####".', PHONE_NUMBER_REQUIRED: 'Please specify a valid phone number, the format is "###-###-####".',
EXTENSION_FORMAT: 'The specified extension is invalid', EXTENSION_FORMAT: 'The specified extension is invalid',
POLICY_ZIP_REQUIRED: 'Please enter your policy ZIP', POLICY_ZIP_REQUIRED: 'Policy ZIP is required.',
POLICY_ZIP_FORMAT: 'Please enter a valid ZIP', POLICY_ZIP_FORMAT: 'Please enter 5 digits',
LOSS_CAUSE_REQUIRED: 'Please enter loss cause', LOSS_CAUSE_REQUIRED: 'Please enter loss cause',
LOSS_CITY_REQUIRED: 'Loss City damage occurred in is required.', LOSS_CITY_REQUIRED: 'Loss City damage occurred in is required.',
LOSS_CITY_FORMAT: 'Please enter only alpha characters', LOSS_CITY_FORMAT: 'Please enter only alpha characters',

View file

@ -189,7 +189,7 @@ p {
font-size: 1rem; font-size: 1rem;
line-height: 1.56; line-height: 1.56;
&.justify-content-center { &.justify-content-center {
text-align: center; text-align: left;
} }
&.justify-content-left { &.justify-content-left {
text-align: left; text-align: left;

View file

@ -22,6 +22,16 @@
disableAutoFill disableAutoFill
:isDisabled="isPolicyHolderDisabled" :isDisabled="isPolicyHolderDisabled"
:validationRules="rules.policyNumber" /> :validationRules="rules.policyNumber" />
<textboxQuestion
ref="policyZip"
v-model="welcomePageModel.policyZipCode"
inputId="policyZipCode"
cmsWidgetName="PolicyZipQuestion"
isRequired
mask="#####"
:isDisabled="isPolicyZipDisabled"
:validationRules="rules.policyZip"
class="mt-3" />
<textboxQuestion <textboxQuestion
ref="phoneNumber" ref="phoneNumber"
v-model="welcomePageModel.phoneNumber" v-model="welcomePageModel.phoneNumber"