• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

Adrian Halliday

Is it possible to create entries using javascript only?

Hi, I am having a problem which is to create an entry for a specific formidable form on my site using pure javascript. Let's say I have a form with ID 2. What I want to achieve is: using the endpoint /wp-json/frm/v2/forms/2/fields to get an array of form fields to build the form with a javascript framework, I am using Vue.js in this case. post the data to /wp-json/frm/v2/forms/2/entries The post action returns a 403 forbidden error. I installed FF Pro and FF API two plugins. I read a tutorial about sending API data to another form, the reason that tutorial is not applicable to my case is it only sends data to elsewhere after the entry in the original site is created. Any suggestion is appreciated. Cheers  

Form validation when using Formidable Form API

Hi, I am loading the Formidable Form through REST API. The code that I am using is from here.I am trying to get the response whether it is successful or not by using the filter frm_get_api_response;If the form is submitted successfully, I can redirect it to a thank you page (by using Send API Data in the form actions), but if the form is not submitted successfully (form fields are empty ), then it redirects to mywebsite/wp-admin/admin-ajax.php?action=frm_forms_preview&form=contact-form My goal is to avoid any unsuccessful submissions and validate the form by using JavaScript without the need to redirect users to such a page to fill out the form. Are there any filters out there to do this job? Thanks in advance. He

Using Axios.js to replace jQuery ajax call

I am using Vue and WordPress Rest API to create a website, I am also using Formidable Form as my form plugin. In order to render the form by using JavaScript, I read this documentation , which is using jQuery. I copied the code and it worked fine with ajax submission. But since I already used another JavaScript library called Axios to perform async request in this website, I want to replace the jQuery code in that document with vanilla JavaScript and Axios, then the ajax submission didn't work anymore,  all the submission redirected me to "http://mywebsite/wp-admin/admin-ajax.php?action=frm_forms_preview&form=contact-form" this address. Form submission still work, they are just not ajax submission though. Just wondering if I want to submit the form with ajax, do I have to use jQuery? Also, if I use formidable form API to include forms, each form will include jQuery for itself, which means if you have multiple forms in one page, you will include many jQuery js files in that page, which is very bad practise, any suggestions about how to get rid of those duplicated jQuery files and only includes it once? Cheers

Feature Suggestion: 'Development mode' for licensed sites

Apologies if this has been discussed before, I've done a search and not found anything. I work at a small agency and we currently have the Small Business plan. We're nearing our limit of live sites running formidable but still have a few builds to go until we upgrade - trying to hold out until absolutely necessary. Because of our development cycle (develop locally > create client accessible staging site > publish live site) we often end up getting three iterations of the same site clogging up our list of activated licenses and have to manage these regularly. It's not a big issue for us to do this, but it strikes me that it might be good for members on the limited subscriptions if we were able to start a site in 'development mode' and later switch to live mode, so as not to go over our license limit. You might need to limit the functionality in order to make sure users do not abuse this system, but on thinking about this it could be a challenge. Limiting the number of submissions per month could be one way, but small sites would never go over the limit and would be […]

Repeatable Section data not stored appropriately (and not suitable for API integrations)

I'm using a repeatable section on a client site to capture trip details for multiple-leg journeys. The repeatable section holds destination and date information etc.   The problem is, this information does not get output in exports or API data in a logical way for users/clients that wish to use the data OUTSIDE of WordPress. I can see why the content has been output as grouped into an array for use within the FOREACH loop for views etc as shown in the documentation, but it's completely useless for developers who wish to integrate with other systems.   My output being sent to the CRM is something like this: _custom__CONTACT_FIELD_1: One-way,One-way,One-way _custom__CONTACT_FIELD_2: Perth, Western Australia, Australia,Adelaide, South Australia, Australia,Kangaroo Island _custom__CONTACT_FIELD_3: Adelaide, South Australia, Australia,Kangaroo Island,Perth, Western Australia, Australia _custom__CONTACT_FIELD_4: 2017-09-01,2017-09-09,2017-09-15 _custom__CONTACT_FIELD_6: 6,6,6 Have any others in the community tried similar things previously and found solutions to this issue? I see the separate fields are still stored separately in the database, so it's really frustrating that they get grouped when being output. I'm looking at using jQuery to manipulate hidden fields based on user entries that will then get sent to the CRM, but this is going to be a fiddly […]

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC