Skip to content

Commit afe91e6

Browse files
committed
Updated Version & Year
> Updated Version & Year > Updated Read Me > Resolved minor bug
1 parent efcf3c4 commit afe91e6

File tree

7 files changed

+26
-21
lines changed

7 files changed

+26
-21
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,23 @@
22
![AUR](https://img.shields.io/aur/license/yaourt.svg)
33
[![GitHub release](https://img.shields.io/github/release/joomdev/JD-Simple-Contact-Form.svg)](https://github.com/joomdev/JD-Simple-Contact-Form/releases)
44

5+
# JD Simple Contact Form
6+
JD Simple Contact form extension is a simple form builder for the Joomla ideally suited for beginners and also meets the basic requirements for every developer and designer. It allows creating various types of form like the mailing list, survey, contact and more.
7+
<center><a target="_blank" href="https://www.joomdev.com/products/extensions/jd-simple-contact-form"><img src="https://www.joomdev.com/images/extensions/jd-simple-contact-form/banner.jpg" /></a></center>
8+
59
# Requirements
610
* Joomla: 3.8 +
711
* PHP : 5.6+
812

9-
# JD Simple Contact Form
10-
JD Simple Contact form extension is simple form builder for a Joomla ideally suited for beginners and also meets the basic requirements for every developers and designers. It allows to create various types of form like mailing list, survey, contact and more.
13+
## Here is what's included:
14+
- Unlimited number of form fields.
15+
- 10+ different field types.
16+
- Ability to make fields required with custom error messages.
17+
- Ability to order fields.
18+
- Ability to configure thank you message.
19+
- Ability to redirect to another page after form submission.
20+
- Custom email messages.
21+
- Ability to CC, BCC messages.
22+
- Ajax Submission.
1123

1224
# [Documentation](https://github.com/joomdev/JD-Simple-Contact-Form/wiki)

helper.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ public static function submitForm($ajax = false) {
126126
}
127127
}
128128

129-
if ($fld['type'] == 'checkbox') {
130-
$value = $_POST['jdscf'][$name]['cb'];
129+
if ($fld['type'] == 'checkbox') {
130+
if (isset($_POST['jdscf'][$name]['cb'])){
131+
$value = $_POST['jdscf'][$name]['cb'];
132+
}
131133
if (is_array($value)) {
132134
$value = implode(',', $value);
133135
} else {

language/en-GB/en-GB.mod_jdsimplecontactform.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ MOD_JDSIMPLECONTACTFORM_XML_DESCRIPTION="JD Simple Contact form provides you wit
88
Here is what's included:
99
<ul>
1010
<li>Unlimited number of form fields.</li>
11-
<li>9 different field types.</li>
12-
<li>Ability to make fields required.</li>
11+
<li>10+ different field types.</li>
12+
<li>Ability to make fields required with custom error messages.</li>
1313
<li>Ability to order fields.</li>
1414
<li>Ability to configure thank you message.</li>
1515
<li>Ability to redirect to another page after form submission.</li>
1616
<li>Custom email messages.</li>
17-
<li>Ability to CC, BCC messages.</li>
17+
<li>Ability to CC, BCC, Reply-To messages.</li>
1818
<li>Ajax Submission.</li>
1919
</ul>"
2020

language/en-GB/en-GB.mod_jdsimplecontactform.sys.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ MOD_JDSIMPLECONTACTFORM_XML_DESCRIPTION="JD Simple Contact form provides you wit
33
Here is what's included:
44
<ul>
55
<li>Unlimited number of form fields.</li>
6-
<li>9 different field types.</li>
7-
<li>Ability to make fields required.</li>
6+
<li>10+ different field types.</li>
7+
<li>Ability to make fields required with custom error messages.</li>
88
<li>Ability to order fields.</li>
99
<li>Ability to configure thank you message.</li>
1010
<li>Ability to redirect to another page after form submission.</li>
1111
<li>Custom email messages.</li>
12-
<li>Ability to CC, BCC messages.</li>
12+
<li>Ability to CC, BCC, Reply-To messages.</li>
1313
<li>Ajax Submission.</li>
1414
</ul>
1515
"

layouts/fields/file.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@
5555
$js .= '}';
5656
$js .= '};';
5757

58-
59-
// $js .= "jQuery('#" . $field->name . '-' .$module->id . "').on('change', function() {";
60-
// $js .= "var fileName = jQuery(this).val().split('\\').pop();";
61-
// $js .= "jQuery(this).siblings('.custom-file-label').addClass('selected').html(fileName);";
62-
// $js .= "});";
63-
6458
$js .= 'jQuery("#' . $field->name . '-' .$module->id . '").on("change", function() {';
6559
$js .= 'var fileName = jQuery(this).val().split("\\\").pop();';
6660
$js .= 'jQuery(this).siblings(".custom-file-label").addClass("selected").html(fileName);';

mod_jdsimplecontactform.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<extension type="module" version="3.1" client="site" method="upgrade">
33
<name>mod_jdsimplecontactform</name>
44
<author>JoomDev</author>
5-
<version>1.2</version>
6-
<creationDate>Feb 2019</creationDate>
5+
<version>1.3</version>
6+
<creationDate>Apr 2019</creationDate>
77
<url>https://www.joomdev.com</url>
88
<copyright>Copyright (C) 2019 Joomdev, Inc. All rights reserved.</copyright>
99
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>

0 commit comments

Comments
 (0)