diff --git a/inc/plugins/gravityforms.php b/inc/plugins/gravityforms.php index 0fe70a2..238e24c 100644 --- a/inc/plugins/gravityforms.php +++ b/inc/plugins/gravityforms.php @@ -86,18 +86,22 @@ function stormbringer_gform_previous_button($button, $form) //This filter is executed when the form is displayed and can be used to completely change //the form tag (i.e.
). -function stormbringer_gform_form_tag($form_tag, $form) -{ - $class = "form "; - if ($form["labelPlacement"] == "right_label") $class .= "form-horizontal"; - if ($form["labelPlacement"] == "top_label") $class .= "form-vertical"; - if ($form["labelPlacement"] == "left_label") $class .= "form-horizontal form-horizontal-leftlabel"; - $class .= ' ' . $form['cssClass']; - //$form_tag = preg_replace("|action='(.*?)'|", "action='custom_handler.php'", $form_tag); - //$form_tag = str_replace("