Browse Source

Remove capitals from Contactus

master
Brian Conway 2 years ago
parent
commit
cfe506cdd6
2 changed files with 7 additions and 8 deletions
  1. 1
    2
      public/css/newStyle.css
  2. 6
    6
      src/components/shared/contactUsSection.vue

+ 1
- 2
public/css/newStyle.css View File

1098
     border: 2px solid #1b75bb;
1098
     border: 2px solid #1b75bb;
1099
     box-shadow: none;
1099
     box-shadow: none;
1100
     font-size: 15px;
1100
     font-size: 15px;
1101
-    color: #1b75bb;
1102
-    text-transform: uppercase;
1101
+    color: black;
1103
 }
1102
 }
1104
 
1103
 
1105
 #contact .form button[type="submit"] {
1104
 #contact .form button[type="submit"] {

+ 6
- 6
src/components/shared/contactUsSection.vue View File

95
   data() {
95
   data() {
96
     return {
96
     return {
97
       alertMsg: "Sent! You can expect a reply soon!",
97
       alertMsg: "Sent! You can expect a reply soon!",
98
-      name: null,
99
-      email: null,
100
-      phone: null,
101
-      property: null,
102
-      message: null,
98
+      name: '',
99
+      email: '',
100
+      phone: '',
101
+      property: '',
102
+      message: '',
103
       boolSent: false,
103
       boolSent: false,
104
       errorOccurred: "",
104
       errorOccurred: "",
105
       errorMessage: "",
105
       errorMessage: "",
179
     },
179
     },
180
     validEmail : function(temail) {
180
     validEmail : function(temail) {
181
         var re = /(.+)@(.+){2,}\.(.+){2,}/;
181
         var re = /(.+)@(.+){2,}\.(.+){2,}/;
182
-        return re.test(temail);
182
+        return re.test(temail.toLowerCase());
183
     }
183
     }
184
   }
184
   }
185
 };
185
 };

Loading…
Cancel
Save