Skip Navigation

[Resolved] ClickDimensions form won't appear in views

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by tristaD 4 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1839535

**Tell us what you are trying to do?**

My client is using ClickDimensions for their lead capture forms and they use a different form for each one. I have a multi-line text custom field where the <script> code is added, but when I put it in a content template nothing appears on the front end. I'm not sure if I'm just not using the right fields or displays to ensure that the code is displaying correctly.

**Is there any documentation that you are following?**

No. I couldn't find anything in the docs, but I am maybe not looking for the right thing?

**Is there a similar example that we can see?**

No, but here is a post where the issue is appearing: hidden link

This has three different ways of showing the form (on the right-hand side below the image): the top one is a View (not showing at all), the one below is showing only part of the code, and the one on the bottom is me pasting the code directly into an HTML block with no Toolset involvement.

**What is the link to your site?**

hidden link

#1840497

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Trista,

Thank you for getting in touch.

What I can see on this page are these 2 things.
var loc=”hidden link;
var loc = "hidden link";

Are these the script tags that you were given? Can you send me a screenshot of how you've added the item to the page ?

Thanks,
Shane

#1842961

Hi there. Sorry for the delay in my response. I've been trying to get this to work in a bunch of different ways.

Okay! So, here is the full code I'm trying to display (which will ultimately display as a form):

<script type="text/javascript">var loc = "hidden link";</script>
<script type="text/javascript" src="hidden link"></script>
<div pageID="06qw5sbheeuoewanovq2pw"></div>

There's also an iframe that can be used for each of these:

<iframe src="hidden link" allowtransparency="true" width="100%" height="500px" type="text/html" frameborder="0" style="border:0"></iframe>

For each post there is a different code, so it needs to use a dynamic field to create it. I was hunting through the documentation and I found this thread: https://toolset.com/forums/topic/add-an-iframe-to-elementor-using-dynamic-url/

I think this might work for me? I am using Elementor, which seems to have been important information. Apologies for not mentioning that previously.

Thanks for your help! I really appreciate it!

#1842971

Update: This has half worked. The form is still not displaying this way, so would still love some help.

#1843589

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Trista,

Just as a confirmation, are you using the elementor dynamic field option to get the information from our Toolset field or are you using our toolset shortcodes directly to display the information.

Please let me know.
Thanks,
Shane

#1843695

Hi Shane!

So, I have tried both. I have tried to put this through into a text field (which is what you saw previously) and then I found that support thread and tried the shortcode (inserted into the Elementor Shortcode module) and neither are working for me.

Let me know if that's not clear and I'll make a video.

Thanks.
T

#1846143

So, this never ended up working, BUT I was able to use Elementor's "Post Content" module and pop the code in an HTML block in the Gutenberg builder. Apparently, that passes through Elementor perfectly. (Insert shrug here.) So if anyone is looking for a workaround to something like this, that's it. It's not pretty, but it works, and it's better than fighting with all the code.

Thanks for all your help!