Guest User

Untitled

a guest
Feb 18th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. <form class="needs-validation" id="validated-form">
  2. <div class="row">
  3. <!-- Rest of form hidden for space -->
  4.  
  5. <div class="col-md-3 mb-3">
  6. <label for="zip">Zip</label>
  7. <input type="text" class="form-control" name="zip" placeholder="" pattern="[0-9]{7}" title="Invalid Zip Code" required>
  8. <span class="text-danger" v-if="validationErrors.zip" style="width: 100%;" v-text="validationErrors.zip"></span>
  9. </div>
  10. </div>
  11.  
  12. <button class="btn btn-primary btn-lg btn-block" type="submit"
  13. @click.prevent="submitForm()">SUBMIT</button>
  14. </form>
Add Comment
Please, Sign In to add comment