I’m trying to improve this contact form:
[link removed]
i wanted to add correct labels, to set the input focus if you click the name.
Therefore i’ve added an id to the name field and the for=”name” attribute to my label. In a clean page with only that label and input in it it works as expected.. but in that page it doesn’t work.
Does anyone have a hint why that isn’t working?
Edit: I know that the other labels and fields can’t work.. i’ve just changed the first input to try things out 😉
<li><label for="name">Name</label><span class="wpcf7-form-control-wrap name"><input type="text" name="name" value="" id="name" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" size="40"></span></li>
Edit: the used form plugin seems to be messy and i’ll try to switch to wordpress jetpack forms.. so question is solved
Double check your code. Look at this:
You’re using for=”Name” several times.