# formidable/trunk/classes/views/frm-fields/back-end/field-total.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/frm-fields/back-end/field-total.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/classes/views/frm-fields/back-end/field-total.php
- Modified: 2026-05-27T15:12:34+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/frm-fields/back-end/field-total.php#L10-L20`.

```php
<?php
/**
 * Total field form builder view.
 *
 * @package Formidable
 *
 * @var FrmFieldTotal $this       Field type handler that included this template.
 * @var string       $html_id    HTML id attribute for the hidden input.
 * @var string       $field_name HTML name attribute for the hidden input.
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<input type="hidden" id="<?php echo esc_attr( $html_id ); ?>" name="<?php echo esc_attr( $field_name ); ?>" value="0" />
<p><?php echo esc_html( $this->get_builder_display_value() ); ?></p>

```
