I needed to remove the website field and make the email field not required, so I defined my form like this:
[contact-field label="Name" type="name" required="true"]
[contact-field label="Email" type="email" required="false"]
[contact-field label="Message" type="textarea" required="true"]
This does basically work. However, there is extra whitespace between each of the fields that does not appear with the default form. This doesn't look good. In the page source, there is a
tag between the div for each field that is not present with the default form. I've trawled the plugin code but with my limited php knowledge can't work out where its coming from.
Does anyone know where this is coming from and if/how I can get rid of it?