Skip to content

Commit

Permalink
Require phone on address update
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidysymons committed Dec 9, 2023
1 parent 716f1fb commit d56837e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion microsetta_interface/templates/update_address.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ $(document).ready(function(){
address_1: "required",
city: "required",
state: "required",
phone: "required",
postal: {
required: true,
remote: {
Expand Down Expand Up @@ -121,6 +122,7 @@ $(document).ready(function(){
address_1: "{{ _('Please enter your street address.') }}",
city: "{{ _('Please enter your city.') }}",
state: "{{ _('Please select your state.') }}",
phone: "{{ _('Please enter your phone number.') }}",
postal: {
required: "{{ _('Please enter your postal code.') }}",
remote: "{{ _('Sorry, we were unable to verify your address. Please check your information and try again.') }}"
Expand Down Expand Up @@ -223,7 +225,7 @@ $(document).ready(function(){
<input id="postal" name="postal" class="form-control" type="text" value="{{ user_info['postal_code'] |e }}" />
</div>
<div class="form-group mb-2">
<label for="phone" name="phone_label">{{ _('Phone Number') }}</label>
<label for="phone" name="phone_label">{{ _('Phone Number') }}*</label>
<input id="phone" name="phone" class="form-control" type="text" value="{{ user_info['phone'] |e }}" />
</div>
<div class="form-group mb-2">
Expand Down

0 comments on commit d56837e

Please sign in to comment.