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.
[dropcap2]1[/dropcap2]Fill in the required fields
[dropcap2]2[/dropcap2]Click Subscribe to our newsletter
[dropcap2]2[/dropcap2]What happens next?
[one_half][raw][gravityform id="2" name="Newletter" title="false" description="false" ajax="true"][/raw][/one_half]
[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.
Followed this article since [raw] was not already included in theme. http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode
The topic ‘formatting issues with shortcode and gravity forms’ is closed to new replies.