jqueryValidate

jqueryValidate

MODX extra

Install on MODX

App Details

About

jqueryValidate acts as a wrapper for jquery validate (https://jqueryvalidation.org/) and is used to perform frontend form validation

SNIPPET PARAMETERS

  • htmlElement - the html element to attach Jquery Validate - (default) #contactForm. You can use a dot before the element to target classes
  • tpl - is a chunk used to build a javascript object of all Jquery Validate properties for example, rules, custom error messages etc.
    • See all jquery validate Options here https://jqueryvalidation.org/validate/
    • (default) tpl chunk is tpl.jqueryValidate.jsOptions
    • You should duplicate the tpl.jqueryValidate.jsOptions chunk (see code below) and create your own validation rules. The default Tpl has the following
      built in rules for first_name, last_name, email and message. as seen in rules below. These rules would apply to form elements with the correponding names
  • install_jquery - If you have not installed jquery in your project, you can set this option to 1 to install this dependency. (default) - 0
  • jquery_version - Specify the version of jQuery. (default) - 2.2.4
  • jvalidate_version - Specify the version of Jquery Validate. (default) - 1.16.0
tpl.jqueryValidate.jsOptions Tpl { errorPlacement: function(error, element) { error.insertBefore(element); }, errorClass: "error", errorElement: "div", rules: { first_name: "required", last_name: "required", email: { required: true, email: true }, message: "required" }, messages: { first_name: "Please enter your First Name", last_name: "Please enter your Last Name", email: "Please enter a valid email", message: "The message is required" } } 

Complete Documentation and Example can be found https://github.com/ifusiontt/jqueryValidate

Pricing

Starting from $0 per month.

Check Out the Bluesky Feed Carousel Widget

By Common Ninja

Bluesky Feed CarouselTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

No tags

Developed By

Isaac Ali

Common Ninja Apps

Some of the best Common Ninja extras for MODX

Browse our extensive collection of compatible extras, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Bluesky Feed Carousel for MODX logo

Bluesky Feed Carousel

Display Bluesky posts with a Bluesky feed carousel that auto updates, shows posts in a clear layout, and keeps visitors engaged.

Job Application Form for MODX logo

Job Application Form

Collect candidate information with a job application form that organizes submissions, streamlines hiring, and helps you manage applicants efficiently.

Order Form for MODX logo

Order Form

Use an order form to let customers submit product orders, save entries, receive notifications, and collect payments through PayPal or Stripe for a smoother buying experience.

Team Member List for MODX logo

Team Member List

Present your team with a structured team member list that builds trust, supports credibility, and helps visitors connect with the people behind your brand.

LinkedIn Feed Carousel for MODX logo

LinkedIn Feed Carousel

Show LinkedIn posts with a LinkedIn feed carousel that auto updates, presents content in a smooth layout, and keeps visitors engaged.

Tumblr Feed for MODX logo

Tumblr Feed

Show Tumblr posts with a Tumblr feed that keeps content fresh, improves navigation, and helps visitors discover more posts.

Info List for MODX logo

Info List

An Info List presents key details in a clear, structured format to improve user experience and support conversions.

Pricing Tables for MODX logo

Pricing Tables

Add pricing tables to your site to present plans clearly, help visitors compare features, and guide them toward faster and more confident conversions.

Vimeo Carousel for MODX logo

Vimeo Carousel

Show Vimeo videos with a Vimeo carousel that displays clips in a smooth, flexible layout to boost visibility and engagement.

Payment Method Logos for MODX logo

Payment Method Logos

Show payment method logos that highlight accepted payment options, build trust at checkout, and help visitors feel confident completing their purchase.

Interactive Video Player for MODX logo

Interactive Video Player

Add interactive video overlays with links, product cards, and buttons that appear on top of your videos to boost engagement and guide user actions.

TikTok Carousel for MODX logo

TikTok Carousel

Show TikTok videos with a TikTok carousel that arranges clips in a smooth, customizable layout to boost engagement and keep visitors watching.

More extras

extras You Might Like

changeDotOrgchangeDotOrg

changeDotOrg

Seamlessly integrate your MODX site with Change.org's API. This snippet…

Discover extra
Group EditGroup Edit

Group Edit

Component for group editing of resources.

Discover extra
Elfsight Booking ReviewsElfsight Booking Reviews

Elfsight Booking Reviews

Show reviews from Booking.com to prove your reputation

Discover extra
FileUploadFileUpload

FileUpload

Revolution version of Michel van de Wetering's FileUpload snippet.Presents…

Discover extra
getDategetDate

getDate

A simple timestamp retrieval Snippet for MODX Revolution.This snippet…

Discover extra
ObfuscateEmail-RevoObfuscateEmail-Revo

ObfuscateEmail-Revo

Simple MODX Revolution Plugin, which uses various methods to hide…

Discover extra
Upload to Users CMPUpload to Users CMP

Upload to Users CMP

A CMP to upload file to registered members to a specified parent…

Discover extra
JsonFormBuilderJsonFormBuilder

JsonFormBuilder

JsonFormBuilder is a small framework to assist in quick development…

Discover extra
ShowTvShowTv

ShowTv

Show the value of any TV on any page.

Discover extra
templateNametemplateName

templateName

Returns template name for given template ID.

Discover extra

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms