I'm trying to create a custom fieldtype that's display_field()
function produces a collection of <input>
boxes. The problem I am having is that the validate()
function in my ft.x_fieldtype.php file is getting run each time for each <input>
it seems.
Can anyone see a way around this?
<?= $field->field_name ?>[credit_card][expiration_month] ?> and <?= $field->field_name ?>[credit_card][expiration_year] ?>
for example for each of the name="" parameters.<?= $field->field_name ?>[credit_card_expiration_month] ?>
?