@@ -59,7 +59,7 @@ use common\modules\bids\models\Bid;
'checked'=>false,
'required'=>true,
'class'=>'footer_form__check',
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
'data-required-message'=>Yii::t('form','Accept the terms')
],
false
)->label(Yii::t('form','I agree to')." ".Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank']));
@@ -59,7 +59,7 @@ use common\modules\bids\models\Bid;
'checked'=>false,
'required'=>true,
'class'=>'footer_form__check',
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
'data-required-message'=>Yii::t('form','Accept the terms')
],
false
)->label(Yii::t('form','I agree to').' '.Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank']));
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
'data-required-message'=>Yii::t('form','Accept the terms')
],
false
)->label(Yii::t('form','I agree to')." ".Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank']));
<inputclass="footer_form__check"type="checkbox"id="check"requiredoninvalid="this.setCustomValidity(' <?=Yii::t('form','Accept the terms')?>')">
<inputclass="footer_form__check"type="checkbox"id="check"requireddata-required-message="<?=Yii::t('form','Accept the terms')?>">
<labelfor="check">
<?=Yii::t('form','I agree to')." ".Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank'])?>