On the field Zipcode I added a validation on Postalcode. If a wrong code is given, a message appears. But I also want to have a different background-color. How can I set this background-color to a bit of red?
Thanks in advance.Solved
Change background-color textentry field in a form
Hello,
In a survey I build in a form like the below screenshot:
!
On the field Zipcode I added a validation on Postalcode. If a wrong code is given, a message appears. But I also want to have a different background-color. How can I set this background-color to a bit of red?
Thanks in advance.
On the field Zipcode I added a validation on Postalcode. If a wrong code is given, a message appears. But I also want to have a different background-color. How can I set this background-color to a bit of red?
Thanks in advance.Best answer by LaT
@Nico_Leussink ;
jQuery("[id='QR~"+this.questionId+"~4'] ").css({"background-color":"red"});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
