I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) to handle the errors for empty fields. The issue is that when the error hops in, my switch is pushed down from its position when my field is submitted empty.

Here is a working example of my code: http://tzr.ro/template/admin/x.php

Can someone give me a tip on how to fix the switch position to stay in place via CSS!? Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.