# formidable/trunk/classes/views/styles/components/templates/direction.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version trunk. 18 lines.

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/styles/components/templates/direction.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/classes/views/styles/components/templates/direction.php
- Modified: 2026-01-13T16:28:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/styles/components/templates/direction.php#L10-L20`.

```php
<?php if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<span class="<?php echo esc_attr( $component_class ); ?> frm-direction-component frm-radio-component">
	<div class="frm-radio-container frm-flex-box frm-flex-justify">
		<input id="frm-direction-left-<?php echo esc_attr( $field_name ); ?>" <?php checked( $field_value, 'ltr' ); ?>  type="radio" <?php echo esc_attr( $field_name ); ?> value="ltr" />
		<label class="frm-flex-center" for="frm-direction-left-<?php echo esc_attr( $field_name ); ?>" tabindex="0">
			<?php FrmAppHelper::icon_by_class( 'frmfont frm-direction-right' ); ?>
		</label>

		<input id="frm-direction-right-<?php echo esc_attr( $field_name ); ?>" <?php checked( $field_value, 'rtl' ); ?> type="radio" <?php echo esc_attr( $field_name ); ?> value="rtl" />
		<label class="frm-flex-center" for="frm-direction-right-<?php echo esc_attr( $field_name ); ?>" tabindex="0">
			<?php FrmAppHelper::icon_by_class( 'frmfont frm-direction-left' ); ?>
		</label>
		<span class="frm-radio-active-tracker"></span>
	</div>
</span>	
```
