";
$data['attributes']['class'] .= ' fluentform-step';
$data['attributes']['class'] = trim($data['attributes']['class']) . ' active';
$atts = $this->buildAttributes(
\FluentForm\Framework\Helpers\ArrayHelper::except($data['attributes'], 'name')
);
echo "
";
}
/**
* Compile and echo the html element
* @param array $data [element data]
* @param stdClass $form [Form Object]
* @return void
*/
public function compile($data, $form)
{
echo $this->compileButtons($data['settings']);
$data['attributes']['class'] .= ' fluentform-step';
$atts = $this->buildAttributes(
\FluentForm\Framework\Helpers\ArrayHelper::except($data['attributes'], 'name')
);
echo "
";
}
/**
* Compile and echo step footer
* @param array $data [element data]
* @param stdClass $form [Form Object]
* @return void
*/
public function stepEnd($data, $form)
{
$btnPrev = $this->compileButtons($data['settings']);
?>
fields['submitButton'], $form);
?>