File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ MOD_JDSCF_CSS_DESC=""
94
94
MOD_JDSCF_IPADDR_LBL =" Include IP Address"
95
95
MOD_JDSCF_IPADDR_DESC =" Collects IP address of the user and include it in the email received by the admin."
96
96
97
+ MOD_JDSCF_EMAIL_REQUIRED_ERROR =" This value should be a valid email."
97
98
MOD_JDSCF_REQUIRED_ERROR =" %s is required."
98
99
MOD_JDSCF_NUMBER_MIN_LENGTH_ERROR =" %s should have %s characters or more."
99
100
MOD_JDSCF_NUMBER_MAX_LENGTH_ERROR =" %s should have %s characters or fewer."
Original file line number Diff line number Diff line change 37
37
<p class="jd-simple-contact-description card-subtitle mb-2 text-muted"><?php echo JText::_ ($ description ); ?> </p>
38
38
<?php } ?>
39
39
</div>
40
- <form method="POST" action="<?php echo JURI ::root (); ?> index.php?option=com_ajax&module=jdsimplecontactform&format=json&method=submit" data-parsley-validate data-parsley-errors-wrapper="<ul class='text-danger list-unstyled mt-2 small'></ul>" data-parsley-error-class="border-danger" data-parsley-success-class="border-success" id="simple-contact-form-<?php echo $ module ->id ; ?> " enctype="multipart/form-data">
40
+ <form method="POST" action="<?php echo JURI ::root (); ?> index.php?option=com_ajax&module=jdsimplecontactform&format=json&method=submit" data-parsley-type-message=" <?php echo JText:: _ ( " MOD_JDSCF_EMAIL_REQUIRED_ERROR " ); ?> " data-parsley- validate data-parsley-errors-wrapper="<ul class='text-danger list-unstyled mt-2 small'></ul>" data-parsley-error-class="border-danger" data-parsley-success-class="border-success" id="simple-contact-form-<?php echo $ module ->id ; ?> " enctype="multipart/form-data">
41
41
<div class="jdscf-row">
42
42
<?php
43
43
ModJDSimpleContactFormHelper::renderForm ($ params , $ module );
You can’t perform that action at this time.
0 commit comments