fbpx

Celebrate Joomla Day France With 25% Discount on Everything JOOMLADAYFRClaim Now

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) Form Not Working?

Form Not Working? 2 weeks 2 days ago #12487

Hi there,

Thanz for this awesomely simple to use form module. I have created a form but can't seem to get it working. I'd tried using PHP 5.6, 7.1, and 7.2.

The site is running on Joomla 3.9.3

You can take a look here

Your advice is highly appreciated!
The topic has been locked.

Form Not Working? 2 weeks 2 days ago #12500

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 36
  • Thank you received: 16
  • Karma: 1
Hi Josh,

I am glad that you liked the JD-Simple Contact Form and thank you for using the module. :cheer:

I checked the form on your website, and it's working fine.
See attached image for reference.

Can you help me out here by showing what exactly the error you're facing, maybe a screenshot?

Thanks,
Akash
Attachments:
The topic has been locked.
The following user(s) said Thank You: joshuatan17

Form Not Working? 1 week 3 days ago #12680

Thz Akash for your reply. I think it could be a server issue.

Anyway, on a separate issue, I would like to suggest a field input type for 'Agree to T&C' where there is a checkbox for the person to tick/check to agree to some T&C. If the checkbox is not checked, then allow the webmaster to dispaly a custom error message i.e. 'You must agree to our Terms & Conditions'. There must be a URL link for the webmaster to input, so that the web visitor can click on it to see perhaps a standard Joomla article which displays the T&C.

Currently, I'm using a standard checkbox to do this but the error message is quite weird since it follows the label for the checkbox.
Attachments:
The topic has been locked.

Form Not Working? 1 week 3 days ago #12685

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 36
  • Thank you received: 16
  • Karma: 1
Hello Josh,

It's a great suggestion indeed. Let me work out with the team about this idea and will let you know about this.

Thanks,
Akash
The topic has been locked.

Form Not Working? 1 week 3 days ago #12690

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 36
  • Thank you received: 16
  • Karma: 1
Hey Josh,

Here's the feature you asked for, just download the updated JD Simple Contact Form.

How to?
When a field is required, you can enter a Custom Required Message for the required input fields.

For creating a URL link, you can directly add the below code in your JOOMLA_DIRECTORY/modules/mod_jdsimplecontactform/layouts/fields/checkbox.php on Line 25:
<?php echo $label . "<a href='LINK-TO-TERMS-&-CONDITIONS">Read More</a>"; ?>

Thanks,
Akash
The topic has been locked.
The following user(s) said Thank You: joshuatan17

Form Not Working? 1 week 2 days ago #12728

Wow! Thanks! I will try it soon.
The topic has been locked.

Form Not Working? 1 week 2 days ago #12745

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 36
  • Thank you received: 16
  • Karma: 1
Cool! :cheer:
Do let me know, so I can close the issue.
The topic has been locked.

Form Not Working? 5 days 8 hours ago #12885

akash wrote:
Hey Josh,

Here's the feature you asked for, just download the updated JD Simple Contact Form.

How to?
When a field is required, you can enter a Custom Required Message for the required input fields.

For creating a URL link, you can directly add the below code in your JOOMLA_DIRECTORY/modules/mod_jdsimplecontactform/layouts/fields/checkbox.php on Line 25:
<?php echo $label . "<a href='LINK-TO-TERMS-&-CONDITIONS">Read More</a>"; ?>

Thanks,
Akash

The 'Custom Required Error' works perfectly!

However, the hard-coding may not be the best way since it will appear in other checkboxes as well. What I did was to put the T&C link right inside the label. That works
The topic has been locked.

Form Not Working? 5 days 8 hours ago #12886

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 36
  • Thank you received: 16
  • Karma: 1
Great then. :)
Closing the issue.
The topic has been locked.
Moderators: akash
Time to create page: 0.590 seconds