change the collapsed tab color when there’s an error inside
-
I got an very long form on my site and I want to change the tab color whenever there’s an invalid field inside it. Now i’m trying to use the following code:
<script>
document.addEventListener( ‘wpcf7invalid’, function( event ) {
$(“div”).ui-accordion-header-collapsed.css({“background-color”:”red !important”,”color”:”white !important”});
}, false );
</script>The page I need help with: [log in to see the link]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘change the collapsed tab color when there’s an error inside’ is closed to new replies.