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 Audio Player Widget

By Common Ninja

Audio PlayerTry 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.

Audio Player for MODX logo

Audio Player

Add a no-code audio player to your site and boost engagement with music, podcasts, and voice content effortlessly.

Image Wall for MODX logo

Image Wall

Showcase visuals with an image wall that creates a parallax style gallery, offers smooth scrolling, and presents images in customizable, engaging layouts.

TDEE Calculator for MODX logo

TDEE Calculator

Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.

HIPAA Compliance Forms for MODX logo

HIPAA Compliance Forms

Create secure HIPAA compliant forms that protect sensitive data, offer full customization, and integrate easily for safe medical information collection.

Social Proof for MODX logo

Social Proof

Show social proof that displays real user activity to build trust instantly, boost credibility, and help increase conversions across your site.

Slideshow for MODX logo

Slideshow

Present images in a Slideshow carousel that rotates or slides through visuals, helping you highlight key content within a clean, engaging layout.

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.

My Reviews on Amazon for MODX logo

My Reviews on Amazon

Show your Amazon product reviews with My Reviews on Amazon to build trust, boost credibility, and help visitors make confident purchase decisions.

Spinning Wheel for MODX logo

Spinning Wheel

Add an interactive spinning wheel to offer prizes, capture leads, and drive user engagement through gamified rewards.

RSS Feed Slider for MODX logo

RSS Feed Slider

Show RSS feed updates with an RSS feed slider that auto updates, displays posts in a smooth layout, and keeps visitors engaged.

Donation Button for MODX logo

Donation Button

Add a donation button that lets users contribute easily using PayPal or Stripe, supporting causes directly from your site.

Event Listings for MODX logo

Event Listings

Create event listings with an events board widget that displays upcoming activities clearly, helps visitors discover events, and supports easy management.

More extras

extras You Might Like

TableOfContentsXTableOfContentsX

TableOfContentsX

This extra creates a table of contents based on header tags.

Discover extra
findParentfindParent

findParent

A simple plugin that traverses up a given resource's parent tree,…

Discover extra
getUserProfilesgetUserProfiles

getUserProfiles

Snippet to get formatted user profile information and return Resources…

Discover extra
FormSaveFormSave

FormSave

FormSave is a hook for FormIt that allows you to save virtually any…

Discover extra
StatikerStatiker

Statiker

Initial content

Discover extra
Perfect BlemishPerfect Blemish

Perfect Blemish

A fully standard compliant template featuring a top navigator bar…

Discover extra
recursiveGrabrecursiveGrab

recursiveGrab

Snippet returns the value of a TV, recursively returning values from…

Discover extra
SubpagesSubpages

Subpages

This is a simple Wayfinder wrapper for use in templates, to display…

Discover extra
ZapierZapier

Zapier

Integrate MODX with hundreds of apps and services.Use cases include,…

Discover extra
visualSitemapvisualSitemap

visualSitemap

A Visual Sitemap Generator: Perfect for pre-design work and…

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