avoid using id/for. wrap input with label, and text inside label with span, e.g.

<label>
   <input ... />
   <span>Valid</span>
</label>