Add another custom error message using ID(s)

Add another custom error message using ID(s)

Hello,

I'm using chronoforms for Joomla and I used another plugin for form validation. My objective is to have my own custom message, code below works for the "name" input.

  1. jQuery(document).ready(function () {
    jQuery("#myForm").validationEngine('attach', {
    'custom_error_messages': {
    '#name': {
    'required': {
    'message': "Your Name is Required"
    }
    }
    }
    });
    });











The code above works, but I want to insert more IDs, such as, #birthday, #terms..etc.with another message.

How do I go about this?

Thanks.