Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8703065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:47:43+00:00 2026-06-13T02:47:43+00:00

I’m using jQuery Validation Engine and prettyCheckboxes jQuery plugins for my WordPress site. Initially

  • 0

I’m using jQuery Validation Engine and prettyCheckboxes jQuery plugins for my WordPress site.

Initially JVE integrates compatibilty with a plugin that styles <select>‘s (jQuery selectBox) and I’ve been trying to do the same with an <input type="checkbox"> replacement plugin, prettyCheckboxes.

You have to add prettySelect : true as an option within the plugin initialisation, so I added a prettyCheckboxes : true to the plugin, which you can see in the gist below on lines 164, 330, 495, 693 and 1944 within the modified plugin.

As well as this you have to do some ID/class jiggery to make sure that IDs aren’t repeated and classes aren’t added where they shouldn’t be. I’ve also had to add in the “checked” attribute to the hidden <input type="checkbox"> so the JVE plugin picks up that it’s changed.

It works only up to the point where I can get an error message to display, but it’s wrong. Basically when you click on a checkbox, it registers the message to display and when you uncheck the message disappears; it’s vice versa. But when you click on other checkboxes once you’ve unclicked the first clicked, it doesn’t work at all unless you do it in the order you clicked initially. It’s really weird.

So my question is, how can I get prettyCheckboxes to work with JVE correctly? Obviously I’ve modified it incorrectly but I’m just not sure where or how to get it to work as intended.

Modified jQuery Validation Engine, prettyCheckboxes, custom HTML and scripts: https://gist.github.com/0349d8c92039fc8c6009
(sorry I can’t post more than two hyperlinks!)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:47:44+00:00Added an answer on June 13, 2026 at 2:47 am

    For some reason some of my code was interfering with the plugin:

    $('.custom-tick').click(function() {
        $(this).each(function() {
            if ($(this).hasClass('checked')) {
                $(this).siblings('input[type="checkbox"]')
                    .attr('checked', true);
            } else {
                $(this).siblings('input[type="checkbox"]')
                    .attr('checked', false);
            }
        });
    });
    

    I removed it and the checkboxes are activating the validation correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a small JavaScript validation script that validates inputs based on Regex. I
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.