Example #1
0
<form>
	<action><?php 
echo $name;
?>
/<?php 
echo $action;
?>
</action>
	<pages>
		<page>
			<rows>
				<?php 
foreach ($field_data as $field) {
    ?>
					<?php 
    if (!steamform_helper::show_field($field, $action)) {
        continue;
    }
    ?>
					
					<row submit='1'>
						<name><?php 
    echo $field->Field;
    ?>
</name>
						<rules>
						<rule name="required" error="This field is required">required</rule>
					</rules>
					<filters>
						<filter>trim</filter>
					</filters>