Contact us
To include a contact form on the contact us view on your theme, you just need to create an HTML form with its action attribute set to /contact-us
Within this form you can have inputs of type text with the following name attributes; name, email, phone, message
No other form fields are allowed. If you need to display other fields on your contact us page form then you should create a custom form.
An example is shown below.
<form action="/contact-us" method="post"> <input type="text" name="name"> <input type="text" name="email"> <input type="text" name="phone"> <input type="text" name="message"> <button type="submit">send</button> </form>
Required fields
The following fields are required:
name
email
message