Questions tagged [plugin-ninja-forms]

A flexible and easy to use form plugin with extensibility.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

imporing HTML+javascript from REST API

i got a new task - move my front to VueJs, so now i have to return forms through API's here is an example of my Endpoint: return do_shortcode(get_field('ninja_form_shortcode', $document->ID)); The ...
user avatar
0 votes
2 answers
123 views

Ninja Forms – change redirect URL based on API response?

How can we change the redirect_url for a redirect action based on the response from an API? I have created a custom action (extending NF_Abstracts_Action ) that runs during submission with late ...
user avatar
  • 9,512
0 votes
0 answers
120 views

How do I set a hidden field to a value?

have a WordPress site. There is a form on the product card, when filled in, the data is sent to the mail. It has hidden fields, how can I add the value for these hidden fields, which is stored in my ...
user avatar
  • 1
0 votes
0 answers
23 views

Submitting product attributes via Ninja Forms wordpress?

I have a wordpress website selling products. On the product page there is a button “Ask a question”, through which a pop-up form created on the basis of the “Ninja forms” plugin opens. There are ...
user avatar
  • 1
0 votes
0 answers
82 views

Adding a new hidden field based on a condition in Ninja Forms

I am rendering Ninja Forms dynamically. By dynamically I mean the shortcode is coming from an ACF field, so at different pages, there would be different forms or multiple different/same forms on the ...
user avatar
0 votes
0 answers
24 views

PayPal Express Ninja Forms extension - how change currency?

I have a form set up through Ninja Forms and the PayPal Express extension. I'm currently testing the form and all works as expected (on submit the user is redirected to the PayPal payment portal, ...
user avatar
0 votes
0 answers
52 views

How do I disable Pods/Elementor while using Ninja Forms?

There's a conflict when using Pods, Elementor, and Ninja Forms together. This is a known issue by Ninja but the other players are uncooperative and Ninja is still a little ways out on a real fix. The ...
user avatar
  • 101
-1 votes
1 answer
22 views

Suppress errors when using global function

I'm using the NinjaForms plugin which defines a Ninja_Forms() global function. Although I can call it without problem, I still get a warning/error Undefined function 'Ninja_Forms'. If this were a ...
user avatar
  • 291
1 vote
0 answers
2k views

Nextcloud integration with wordpress

We have a contact form on our website and we want to allow user to upload pdf file. We would like to uploaded file to be in turn uploaded to our nextcloud system. Could anyone please tell me if such ...
user avatar
1 vote
1 answer
746 views

Cannot prefill hidden Ninja Forms fields

If have a page where you can select a specific broker from a list. The broker name has to be filled in into the hidden field in Ninja Forms. if(jQuery('#broker-list').length) { //checks if the list ...
user avatar
  • 125
1 vote
1 answer
500 views

Render ninja form inside markup

I want to render a ninja form via markup (in a php file): <div> <h1>hello</h1> <ninja-form> <---- ? </div> What do i put in there to render a ...
user avatar
  • 291
0 votes
1 answer
2k views

Get value of selected option in select field in a Wordpress form

So I am trying to get which option is selected without submitting it to server side. I have 2 drop down fields, the first one is of last names and second one is of first names. Both are populated from ...
user avatar
2 votes
1 answer
400 views

How to add a class for ninja form field_table?

I use ninja forms for a registration of an event. In the success message and in the confirmation mail, I want to show all the data entered by the users. Ninja form has an filter called {fields_table}...
user avatar
  • 165
0 votes
1 answer
397 views

Form submissions that require users ID# [closed]

I'm new to asking questions here, so any help would be appreciated. I'm managing a Wordpress website for an organization that is going to have an upcoming election of board members and they'd like ...
user avatar
1 vote
0 answers
2k views

User input form field value validation ninja forms 3

I'm having a problem with custom form field validation. I have installed Ninja form 3 in the latest wp-install. The problem is that I am not clear on which hook to use. I have looked at the ...
user avatar
  • 21
0 votes
1 answer
8k views

Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]

My objective is to use Ninja Form for data collection at various places all over my website. But once that data is collected, depending on which form it came from and what data has been filled, I want ...
user avatar
1 vote
1 answer
3k views

Create unique identifier that is displayed to the user and admin via Ninja Forms

I'm trying to source documentation on how to create a unique identifier that can be displayed to the user after form submission and to the admin that also receives the submission. User submits form ...
user avatar
0 votes
1 answer
2k views

Errors being created by admin-ajax.php

I'm building a site in Wordpress and using the Ninja Forms plugin. While developing locally everything worked perfectly but now I've installed on my server When trying to submit a form I'm getting ...
user avatar
1 vote
0 answers
998 views

Ninja Forms 3 - processing form values on submission

I have a ninja form that redirects to a thank you page. I am trying to process the values submitted in the form to display different content on the thank you page. I have achieved this in Ninja ...
user avatar
0 votes
1 answer
196 views

Ninja Forms: "Unknown Field type "" not found."

I cannot figure out why Ninja Forms is throwing this error. Documentation does not have anything available on this error. If I am making a form, and the field key is firstname, this error will come ...
user avatar
  • 37
1 vote
0 answers
647 views

How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?

I am creating a website where organizers can come and post their events. Data will be accepted via a form and when the user submits the form, the data must be utilized to create a custom post that ...
user avatar
0 votes
1 answer
2k views

PHP/WordPress -- How do I check if Shortcode returns content?

What I'm basically trying to do is check if a shortcode is returning any content, I'm using a plugin called Ninja forms and they have default content posting using their own shortcodes which look like ...
user avatar
2 votes
1 answer
729 views

Character Encoding for wp_options

I've been looking for a solution to my problem for a while now. Under my wp_options page I have the following serialized entry saved: a:17:{s:11:"date_format";s:5:"d/m/Y";s:15:"currency_symbol";s:1:"...
user avatar
1 vote
1 answer
4k views

Ninja form Redirect depending on text field content [closed]

I'm using Ninja Forms and their extension to do front-end posts. They have a function that is supposed to allow you to redirect to a specific page depending on values from the form. my purpose is to ...
user avatar
  • 13
0 votes
1 answer
513 views

Wordpress ninja form change required attribute on condition

In my ninja form , I have required field . But I want to change that required attribute if the user is not logged in . I have seen ninja form documentaion and tried as they say . Here is what I have ...
user avatar
0 votes
2 answers
14k views

Grab values from the query string to fill in hidden fields in ninja forms [closed]

I've added a custom page template where I pull out a list of available jobs from the database. The page displaying the jobs is called jobs. I'm using the Ninja forms plugin to add a form on a page ...
user avatar
0 votes
0 answers
457 views

Ninja Forms - pull in some post related information

I am building a real estate website. There is a custom post type, called "Agents", that holds all the contact info, like the email address. I also have a custom post type called "Properties" where you ...
user avatar
  • 43
0 votes
1 answer
604 views

Redirect depending on category chosen

I'm using Ninja Forms and their extension to do front-end posts. They have a function that isn't working that is supposed to allow you to redirect to a specific "thank you" page depending on values ...
user avatar