Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21533

    There is an issue when using the custom shortcode builder, specifically with columns on a page, as opposed to the template builder when handling Gravity Forms. If I navigate to my page and add the following code, I will experience a number of (br) after the submit button, seen in the source code.

    [one_half first]

    [dropcap2]1[/dropcap2]Fill in the required fields
    More stuff

    [dropcap2]2[/dropcap2]Click Subscribe to our newsletter
    stuff

    [dropcap2]2[/dropcap2]What happens next?
    Stuff

    [/one_half]

    [one_half][raw][gravityform id=”2″ name=”Newletter” title=”false” description=”false” ajax=”true”][/raw][/one_half]

    test
    [gravityform id=”2″ name=”Newletter” title=”false” description=”false” ajax=”true”]

    However, outside of the shortcode for columns, the form does not add the (br) after the submit button.

    If you create a custom template using the theme’s function and simply add the shortcode for the inside columns, the (br) does not show up.

    I’ve tried wrapping [raw][/raw] around my form within the column shortcode but that did absolutely nothing.

    Please help.

    #112167

    Followed this article since [raw] was not already included in theme. http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode

    Resolved.

    #112168

    Hi!

    Great, glad that it works now :)

    Regards,

    Peter

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘formatting issues with shortcode and gravity forms’ is closed to new replies.