Skip to content

Commit

Permalink
Fixed issue #18338: For participants, expiration date can be set befo…
Browse files Browse the repository at this point in the history
…re start date (#2679)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
  • Loading branch information
gabrieljenik and encuestabizdevgit committed Nov 2, 2022
1 parent dd61c9f commit 42cfc2d
Show file tree
Hide file tree
Showing 10 changed files with 455 additions and 402 deletions.
3 changes: 2 additions & 1 deletion application/views/admin/token/tokenform.php
Expand Up @@ -35,7 +35,8 @@
<?php echo CHtml::form(array("admin/tokens/sa/{$token_subaction}/surveyid/{$surveyid}/tokenid/{$tokenid}"), 'post', array(
'id' => 'edittoken',
'class' => '',
'data-validation-error' => gT("Some mandatory additional attributes were left blank. Please review them.")
'data-additional-attributes-validation-error' => gT("Some mandatory additional attributes were left blank. Please review them."),
'data-expiration-validation-error' => gT('Participant expiration date can\'t be lower than the "Valid from" date'),
)); ?>
<!-- Tabs -->
<?php if( count($attrfieldnames) > 0 ):?>
Expand Down

0 comments on commit 42cfc2d

Please sign in to comment.