Modal Glitch

By: Rudi JvR | Asked: 12/09/2023
ForumsCategory: General questionsModal Glitch
Rudi JvR asked 8 months ago
Hi there, I'm configuring a modal link in a 3rd party table tool (wpDataTables) listing Form entries.  The link should open the modal popup and display the related/specified form and populate the form with the form entry details: Here is the modal setup: [frmmodal-content size="large" label="Details"][formidable id=15 entry_id=123][/frmmodal-content] As a test, when I add this shortcode on a page it opens the popup as expected.   As soon as I add the shortcode to the Table listing the form entries I experience a glitch where the page dims (modal activate) and becomes unresponsive.  It seems like there is a conflict between Formidables' Modal plugin and the Table plugin. Do anyone have a suggestion of how I can resolve this or troubleshoot?  It is bazaar!?   Thanks in advance for any help.  
1 Answers
Best Answer
Rob LeVineRob LeVine answered 8 months ago
You should not have the same form multiple times on a page as seen here. If that's not the problem, I suggest creating a view with the same data and without using wpDataTables and see if the problem still exists.
Rudi JvR replied 8 months ago

<p>[edit]</p><p>Thanks for getting back to me Rob. It seems that I have found the problem.</p><p>My page had some fancy design work going on which DID in fact have the form I reference in my modal content loaded in the background.</p><p>I added the table with the modal link to a clean page for troubleshooting and this confirmed it, as the modal popup works perfectly on this test page.</p><p>Your feedback was of great help and I learnt about some of the limitations which is very valuable.</p><p>Thanks again!</p>

Rob LeVineRob LeVine replied 8 months ago

Apologies. For some reason, I assumed you had a table and each row had a link to the same form/modal. When you have the failing situation loaded in your browser did you click F12 and check the java console for any errors?

Rudi JvR replied 8 months ago

I started editing my previous response as you were responding - I should not have done that.

See my edit for feedback on your previous message.

Long and short of it is that you were right about having the form loaded multiple times.

Valuable lesson - Thank you so much!

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