Show the Form entries on the front end

By: faizan Hussain | Asked: 10/04/2023
ForumsCategory: How-toShow the Form entries on the front end
faizan Hussain asked 1 year ago
I want to Show the entries on the front end of my wordpress website 
to acheive this I'm creating my own plugin and in that I'm using this 

FrmEntriesController::get_all_for_form($form_id, '', 'include');
Attachments
Adam Fominaya replied 1 year ago

Can you not include the shortcode of your view in a custom HTML block?

faizan Hussain replied 1 year ago

Which shortcode .. this code is ain't working

Adam Fominaya replied 1 year ago

Typically, you'd show your form entries just using formidable views. No reason to create your own plugin as far as I can tell.

Under formidable views, there's a shortcode on the left that you can insert on wordpress to display your view.

Adam Fominaya replied 1 year ago

Typically, you'd show your form entries just using formidable views. No reason to create your own plugin as far as I can tell.

Under formidable views, there's a shortcode on the left that you can insert on wordpress to display your view.

2 Answers
Victor Font answered 1 year ago

There is no get_all_for_form() method in FrmEntriesController.php. The get_all_for_form() method is in formidable/classes/models/FrmField.php. This function does not return entry data. Its query runs against the frm_fields and frm_forms tables. The data in these tables is the form architecture, not entry data. The function you need to use is FrmEntry::getAll().
https://formidable-masterminds.com/how-frmentrygetall-works/

B W answered 1 year ago
Why not just use the views?

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