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.
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.
<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>
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?
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!
Please login or Register to submit your answer