Add all your classes at once. Having two class declarations can cause an error.
Use (notice how form-control
is added to the end of your class with a space
that is how you can add another class)
<input
name="selectAgent"
type="text"
id="selectAgent"
class="validate[required] text-input form-control"
>
Instead of
<input
name="selectAgent"
type="text"
class="form-control"
id="selectAgent"
class="validate[required] text-input"
>