Validating all checkboxes are checked in group

  • jjohnson
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

jjohnson replied the topic: Validating all checkboxes are checked in group

Here's the credentials
This message contains confidential information
#169989
  • Posts: 6478
  • Karma: 170
  • Thank you received: 666

tomeperica replied the topic: Validating all checkboxes are checked in group

Hello there,

pls tell me which form should I inspect?

Regards

Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
#169992
  • Posts: 6478
  • Karma: 170
  • Thank you received: 666

tomeperica replied the topic: Validating all checkboxes are checked in group

Hey there,

I have done a custom validation on your form scholarshipForm , criteria checkbox element which consist of 4 checkboxes, code is below:
function ff_criteria_validation(element, message)
{
var checkboxes = JQuery("[name=\"ff_nm_criteria[]\"]:checked");
if(checkboxes.length != 4){
    return message;
}
return '';
} // ff_criteria_validation

Let us know if that worked for you.

Regards

Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
#170013
  • jjohnson
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

jjohnson replied the topic: Validating all checkboxes are checked in group

Perfect, thank you for all your help. This will aid me in the future as well.
#170025
  • Posts: 6478
  • Karma: 170
  • Thank you received: 666

tomeperica replied the topic: Validating all checkboxes are checked in group

:woohoo:

I am glad that worked for you.

Let us know if you need further help.

Kind regards

Regards,
Tome
==========================================
Need to renew Pro Support?
Buy Here!
==========================================
Satisfied?
Consider a membership!
==========================================
Like us on Facebook
==========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
#170077
  • Posts: 63
  • Thank you received: 0

techmgmt replied the topic: Validating all checkboxes are checked in group

I am looking to do the same thing on my form. What part of the code do I need to change for my checkbox group?
#228860
Moderators: ForumSupporttomeperica
Time to create page: 0.069 seconds

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here