You are viewing limited content. For full access, please sign in.

Question

Question

How can I see the HTML I've added in a Custom HTML field?

asked on January 28, 2014 Show version history

 In Forms 9.1 if I create a new form from scratch and click on a custom HTML I can see that actual code I've added. If I export/import that form or upgrade it (example here) I can't see the custom code.

 

The code is there, and I can see the result of the code if any (such as a button) but I can't actually see the underlying code. This makes things really complicated if the code I've added is something like:

 

<div id="signature"></div>

where is won't actually show up in the editor. In fact the only way I can even see if is by previewing and then inspecting the code manually that way.

 

 

0 0

Answer

SELECTED ANSWER
replied on January 28, 2014 Show version history

I might not understand you. It sounds like you're saying "I just added some custom HTML to my form but the custom HTML on my form doesn't show up." If that's the case, this the expected behavior with the HTML you specified. An HTML tag like a div is just a structural element, there's no content inside that tag (so there's nothing to show on the form). The div is still being added to the HTML structure of your form, of course.

 

If you're having trouble seeing the HTML you wrote in the field, here's what you can do:

 

In the Custom HTML field's rich text editor, click the HTML button. This should toggle the view from showing you the formatted text to showing the HTML view. You should see the HTML you entered here.

0 0
replied on January 29, 2014 Show version history

Hey will you look at that. For some reason I've only been trying to click on the > symbol, not the actual letters that say HTML. So I've never seen it switch modes until just now. 

 

Boom, I can now see the code. 

 

Thanks!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.