elclanrs / jq-idealforms-old

The ultimate framework for building and validating responsive HTML5 forms.
665 stars 95 forks source link

When I hide icons, unexpected things happen. #35

Open cpidx opened 12 years ago

cpidx commented 12 years ago

If I don't want to use icons I can hide them, but then the validation information bubbles no longer work. In other words, just because I'm hiding the icons doesn't mean I don't want to validate the form.

Also, the space reserved for the icon still exists, and when I type in the correct data format a checkmark appears in the empty area (I would expect if I hide icons, that would include checkmarks).

elclanrs commented 12 years ago

As I said in the other question this can be done with flags but there's a bug as you mention when you hide the icon the space is still there. This is because the error position is calculated in CSS not in JavaScript. I'll keep this bug open and see if I can find a solution...