• Resolved jugibur

    (@jugibur)


    Hello Takayuki,

    I want to use a shortcode inside the acceptance field, because I have complex text with links in two forms on my page.

    Replacing the shortcode works, but after that it leaves the closing acceptance shortcode tag in the page:
    [/acceptance]

    Would be great you could solve this. Thanks for your work on CF7!

    Juergen

Viewing 4 replies - 1 through 4 (of 4 total)
  • “[/acceptance]” is not needed usually… Can I see the code you wrote that replaces the standard one?

    Thread Starter jugibur

    (@jugibur)

    Hello Erik,
    thank you, you are right!
    I wouldn’t have thought that it would work without the closing tag, since the documentation explicitly sets one.
    But a small disadvantage of omitting the closing tag is that the text is not clickable to select the checkbox.
    But for now I could live with that, because for me using a shortcode is more useful.

    try this:
    <label>[acceptance acceptance-123 optional] message</label>

    let me know if has worked!

    Thread Starter jugibur

    (@jugibur)

    Cool, this works (and with my shortcode)
    Many thanks, Erik!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug: Shortcode inside acceptance field leaves “[/acceptance]”’ is closed to new replies.