Problem: I am trying to save the HTML code for an iframe in a custom field using Forms, but the code isn't saved correctly.
Solution: HTML iframe tags are a security issue, so Forms strip them out when submitted by non-admin Users. One solution is to only save the iframe src attribute URL, like this:
https://docs.google.com/presentation/d/e/2PAC-x...embed/?start=false&loop=false&delayms=3000
Then in your Template Layout, you can use the field value in an iframe tag:
[wpv-conditional if="( $(wpcf-vvedyt-kod-prezentacziyi) ne '' )"] <iframe src="[types field='vvedyt-kod-prezentacziyi' output='raw'][/types]" frameborder="0"... ></iframe> [/wpv-conditional]
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 3 replies, has 2 voices.
Last updated by 5 years ago.
Assisted by: Christian Cox.