mhsparks / golden-hill-sports

Golden Hill Sports Website
MIT License
0 stars 0 forks source link

Review contact form implementation #3

Open mhsparks opened 4 years ago

mhsparks commented 4 years ago

I've attempted to use netlify forms

https://docs.netlify.com/forms/setup/

There's a lot of html5 form attributes we could use (required etc.) to save doing validation with javascript:

https://css-tricks.com/form-validation-part-1-constraint-validation-html/

All the submissions go into spam at the moment for some reason and I probably need to work out a way to send them via email ...

safcjude commented 4 years ago

Have added 'required' to the text type of each input (apart from telephone number)

type="text" required

Form won't now send unless all necessary fields are filled out.

Still need a way to avoid the spam folder..