# formidable/trunk/classes/views/frm-fields/back-end/field-credit-card.php

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

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/frm-fields/back-end/field-credit-card.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/classes/views/frm-fields/back-end/field-credit-card.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-credit-card.php#L10-L20`.

```php
<?php
/**
 * Credit card field form builder view.
 *
 * @package Formidable
 *
 * @var array $field Field data including 'form_id'.
 */

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

if ( ( ! FrmStrpLiteConnectHelper::at_least_one_mode_is_setup() && ! FrmSquareLiteConnectHelper::at_least_one_mode_is_setup() ) || ! FrmTransLiteActionsController::get_actions_for_form( $field['form_id'] ) ) {
	?>
	<span class="frm-with-icon frm-not-set frm_note_style">
		<?php FrmAppHelper::icon_by_class( 'frmfont frm_report_problem_solid_icon' ); ?>
		<?php esc_attr_e( 'This field is not set up yet.', 'formidable' ); ?>
	</span>
	<?php
	return;
}
?>
<div class="frm-lite-credit-card-element">
	<input type="text" placeholder="1234 1234 1234 1234" disabled />
	<div>
		<?php FrmAppHelper::icon_by_class( 'frmfont frm_credit_card_icon' ); ?>
	</div>
</div>

```
