# jetformbuilder/1.1.1/templates/fields/form-break-field.php

JetFormBuilder — Dynamic Blocks Form Builder, version 1.1.1. 24 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/1.1.1/code/templates/fields/form-break-field.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/1.1.1/raw/templates/fields/form-break-field.php
- Modified: 2021-03-11T08:51:14+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/jetformbuilder/1.1.1/code/templates/fields/form-break-field.php#L10-L20`.

```php
<?php
/**
 * next page button template
 */

use Jet_Form_Builder\Classes\Tools;

$class_name = isset( $args['class_name'] ) ? $args['class_name'] : '';

$classes = array( 'jet-form-builder__next-page', $class_name );


$this->add_attribute( 'class', 'jet-form-builder__next-page' );
$this->add_attribute( 'class', $class_name );
$this->add_attribute( 'type', 'button' );
?>
<div class="jet-form-builder__next-page-wrap">
    <?php echo $this->render_disabled_message_form_break( $args ); ?>
	<?php include $this->get_global_template( 'common/prev-page-button.php' ); ?>
	<?php if ( ! empty( $args['label'] ) ) : ?>
	<button<?php $this->render_attributes_string(); ?>><?php echo $args['label']; ?></button>
	<?php endif; ?>
</div>
<?php $this->reset_attributes(); ?>
```
