• Resolved lowthian

    (@lowthian)


    Greetings, sorry if this has been covered, I did search but didn’t quite know terms. I am trying to add a custom field for fundrasing campaigns. My client uses a third party system that provides an embed code for the forms. The third party system offers either a script, or an iframe. I have tried various types of custom fields with both, but when I use it for the code it either errors, or in the case of the script I get the “noscript” message: “Fill out my LGL Form.” What is the best way to create a custom field to add either <scritp… or <iframe…

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not an issue directly related to CPTUI itself, but it does at least sound like possibly either not all of the markup is saving to your field, or it’s getting removed somehow before it gets displayed.

    Typically for script/iframe based stuff, I prefer using a shortcode or some sort of theme edit to make sure all the parts get added/rendered more appropriately. However, I don’t now how deft you may be with coding solutions vs saving to a textarea.

    Thread Starter lowthian

    (@lowthian)

    Thanks Michael, I think I found a workaround even though it will be a bit more work for my client, using html to shortcode plugin.

    • This reply was modified 5 years, 8 months ago by lowthian.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds good, thanks for the followup @lowthian

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘External code in a field’ is closed to new replies.