ninja-forms

Custom jQuery not working on Wordpress Ninja Forms plugin

雨燕双飞 提交于 2021-01-20 19:58:30
问题 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

Mixed Content Exception in Wordpress

↘锁芯ラ 提交于 2020-01-14 06:44:07
问题 I'm getting the following error when submitting a Ninja form that was integrated to the wordpress site. Mixed Content: The page at 'https://my.domain/event/test-page/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://my.domain/wp-admin/admin-ajax.php'. This request has been blocked; the content must be served over HTTPS. That is the only error that I'm getting. The site runs in HTTPS. A quick help is utmost appreciated. 回答1: Are you seeing the mixed content

submit to ninja form programmatically

那年仲夏 提交于 2019-12-08 04:16:22
问题 I've been researching for days and all I want to be able to do is create entries in the ninja form admin listings. Either by submitting custom form (not ninja form generated) or just calling a hook and passing data (data will match actual form fields created in ninja form). I want to be able to do this so that I can create any type of form layout and still be able to submit to ninja form entry. Or if anyone has any other information on a plugin that can allow me to do such a thing, please

submit to ninja form programmatically

蓝咒 提交于 2019-12-06 15:46:59
I've been researching for days and all I want to be able to do is create entries in the ninja form admin listings. Either by submitting custom form (not ninja form generated) or just calling a hook and passing data (data will match actual form fields created in ninja form). I want to be able to do this so that I can create any type of form layout and still be able to submit to ninja form entry. Or if anyone has any other information on a plugin that can allow me to do such a thing, please share. In NinjaForms version 3 , you probably want to look at this file: ninja-forms/includes/Actions/Save