* @link http://www.tassos.gr * @copyright Copyright © 2020 Tassos Marinos All Rights Reserved * @license GNU GPLv3 or later */ defined('_JEXEC') or die('Restricted access'); extract($displayData); $cssclass = isset($field->cssclass) ? $field->cssclass : ''; // Load Input Masking if (isset($field->inputmask) && !empty($field->inputmask)) { JHtml::script('com_convertforms/vendor/inputmask.min.js', ['relative' => true, 'version' => 'auto']); JHtml::script('com_convertforms/inputmask.js', ['relative' => true, 'version' => 'auto']); JText::script('COM_CONVERTFORMS_ERROR_INPUTMASK_INCOMPLETE'); } // Safe label is used by the getFieldsArray() $safeLabel = isset($field->label) ? htmlspecialchars(trim(strip_tags($field->label)), ENT_NOQUOTES, 'UTF-8') : null; $helpTextPosition = $form['params']->get('help_text_position', 'after'); ?>
data-type="type ?>" required) && $field->required) ? 'data-required' : '' ?>> hidelabel) && !$field->hidelabel && !empty($field->label)) { ?>
input; if ($helpTextPosition == 'after') { include __DIR__ . '/helptext.php'; } ?>