is it possible to use Formidable forms inside Admin Panel?

By: Carlos Hidalgo | Asked: 05/24/2023
ForumsCategory: Code Helpis it possible to use Formidable forms inside Admin Panel?
Carlos Hidalgo asked 11 months ago
Goal: Add a formidable form inside my WordPress admin.

I made this simple test (added in my functions.php):

function my_custom_menu_page() { add_menu_page( 'Formidable Form', // Menu page title 'Formidable Form', // Menu title in admin menu      'manage_options', // Capability required to access the menu 'my-custom-menu', // Menu slug 'my_custom_menu_page_callback' // Callback function to display the menu page content ); }

add_action('admin_menu', 'my_custom_menu_page');

function my_custom_menu_page_callback() { echo do_shortcode('[formidable id=your_form_id]'); }


Even though this work shows the formidable form without styles, my main concern is that the submit button is not displayed, there is something extra that I need to add?
1 Answers
Victor Font answered 11 months ago
This a good question and I'm not sure there's a ready answer. This is the first time I can recall that anybody has asked this question. Formidable does have hooks specific to the admin area, but none of them are used for displaying a form in the admin area. When you think about, when you edit an entry on the back end, you're using the form, but it's styled specifically for the back end. Front end styling is not loaded. You may need to create custom code to load the styling you want, or maybe you can load the form in an iframe to trick Formidable into thinking it's loading on the front end. If you have the budget and want to ask a developer for help, please see https://formidable-masterminds.com/developers-directory/
Carlos Hidalgo replied 11 months ago

Thanks, Victor, the style is not a big problem, my main concern is that the submit button is not displayed, thanks again for your time.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right