I am having some problems when I want to add custom jQuery code that affects the form.
For example when someone clicks an input or radio button another input or element to be hidden or shown.I tried to get a result like console.log('trigger');
when clicked or something else but nothing in dev. console appeared.Also, I tried the following methods:
To call the click
event with .on('click', function()...
or to call the event with .trigger('click');
, or to change the event to change
To embed the script within a file from ninja forms or to put it inside the page at the ending of body
tag in footer.php
To change the opening declaration of jQuery to work inside a function like this : (function($) {$(document).ready(function(){.....
I know that I could try another plugin, I tried one and the custom jQuery works but I really like this one and don't know why this is happening ...
Thanks