if (!defined('IPHORM_VERSION')) exit; $formId = $form->getId(); $formUniqueId = $form->getUniqId(); $useAjax = $form->getUseAjax(); $formClasses = array(); if ($form->getUseUniformJs()) { $formClasses[] = "iphorm-uniform-theme-{$form->getUniformJsTheme()}"; } if (strlen($theme = $form->getTheme())) { $theme = explode('|', $theme); $formClasses[] = "iphorm-theme-{$theme[0]}-{$theme[1]}"; } if ($form->hasConditionalLogic()) { $formClasses[] = 'iphorm-has-logic'; } if ($form->isResponsive()) { $formClasses[] = 'iphorm-responsive'; } $anchor = apply_filters('iphorm_use_anchor', true); $anchor = apply_filters("iphorm_use_anchor_$formId", $anchor); $action = add_query_arg(array()) . ($anchor ? "#iphorm-$formUniqueId" : '');
Please wait...