$str .= do_shortcode("[formidable id=".tw_get_signupformID()." minimize='1']");
echo $str;
Adding a form within a column of my website and it's breaking the page layout, it's not immediately obvious as to why. Layout only broken with that shorcode written out.
Styles are turned off form.
The form width is smaller than the available space.
You're adding a form in a PHP snippet incorrectly. The details for publishing a form through PHP is in this KnowledgeBase article: https://formidableforms.com/knowledgebase/publish-a-form/#kb-php-alternative
Many Formidable shortcodes have PHP equivalents when writing custom code. Make sure you check the KnowledgeBase for the developer alternatives.
Please login or Register to submit your answer