@ -211,6 +211,9 @@ export default {
methods: {
submitForm() {
event.preventDefault()
if(this.name == null || this.email == null || this.message == null)
alert('Your name, email, or message cannot be empty.')
else {
document.querySelector('input[type=text]').disabled = true
document.querySelector('input[type=email]').disabled = true
document.querySelector('textarea').disabled = true
@ -233,4 +236,5 @@ export default {
}
</script>