# formidable/6.31/classes/views/shared/form-nav.php

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

- Page: https://pluginprobe.com/plugins/formidable/6.31/code/classes/views/shared/form-nav.php
- Raw: https://pluginprobe.com/plugins/formidable/6.31/raw/classes/views/shared/form-nav.php
- Modified: 2026-02-12T17:50:48+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/6.31/code/classes/views/shared/form-nav.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

FrmFormsHelper::form_switcher( $form );
?>

<ul class="frm_form_nav">
<?php

foreach ( $nav_items as $nav_item ) {
	if ( ! current_user_can( $nav_item['permission'] ) ) {
		continue;
	}

	?>
	<li>
		<a href="<?php echo esc_url( $nav_item['link'] ); ?>"
			<?php FrmAppHelper::select_current_page( $nav_item['page'], $current_page, $nav_item['current'] ); ?>
			<?php
			if ( isset( $nav_item['atts'] ) ) {
				FrmAppHelper::array_to_html_params( $nav_item['atts'], true );
			}
			?>>
			<?php echo esc_html( $nav_item['label'] ); ?>
		</a>
	</li>
	<?php
}
?>
</ul>

```
