Contact form?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
Contact form?
So in my Joomla project, I'd like to have a contact form. Is there a built-in service in Joomla for this, or do I need to rely on extensions? Are there different types of contanct forms? I'm thinking email form, but maybe there are also forms that sends messages to Joomla admin? If there are several to pick from, which one(s) are the best? Would be great with something with built-in validation.
-
- Joomla! Champion
- Posts: 6005
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: Contact form?
What's wrong with the default one?
https://gadsolutions.biz Electrical services
https://electrical-testing-safety.co.uk Testing services
https://electrical-testing-safety.co.uk Testing services
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
- Sulpher
- Joomla! Explorer
- Posts: 304
- Joined: Mon May 21, 2007 8:54 am
- Contact:
Re: Contact form?
If you will use com_contact - do not forget to enable Captcha. Maybe even HCaptcha.
Joomla! extensions & ecommerce plugins – https://norrnext.com
Unofficial Joomla channel on Telegram - @joomlahub
Follow me on Twitter: @sulpher
Unofficial Joomla channel on Telegram - @joomlahub
Follow me on Twitter: @sulpher
- AMurray
- Joomla! Exemplar
- Posts: 9828
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Contact form?
The core contact component:
https://magazine.joomla.org/all-issues/ ... ent-part-1
If you need advanced features, then you may need to consider a third-party contact extension. https://extensions.joomla.org/instant-s ... ct%20forms
Joomla also has an inbuilt "Private Message" function as well, which could be used for messages between admins or other relevant users.
https://docs.joomla.org/Help4.x:Private_Messages
https://magazine.joomla.org/all-issues/ ... ent-part-1
If you need advanced features, then you may need to consider a third-party contact extension. https://extensions.joomla.org/instant-s ... ct%20forms
Joomla also has an inbuilt "Private Message" function as well, which could be used for messages between admins or other relevant users.
https://docs.joomla.org/Help4.x:Private_Messages
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
Re: Contact form?
It seems the Joomla built-in form may suffice for my needs, however Captcha is a good idea to use. Is there any good, free extension for this I can use with the built-in form?
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
Re: Contact form?
I believe I'll go with Joomla's built-in form for now, I think it will cover my needs.AMurray wrote: ↑Mon Apr 29, 2024 9:21 pm
If you need advanced features, then you may need to consider a third-party contact extension. https://extensions.joomla.org/instant-s ... ct%20forms
However, once I publish the site, how does it work with SMTP and so forth? Do I need to add this kind of information somewhere in Joomla admin in order for the form to work?
I have used phpMailer in the past in non-Joomla projects, and I recall having to fill out a bunch of things related to my webhost in order for it to work.
- AMurray
- Joomla! Exemplar
- Posts: 9828
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Contact form?
You set up SMTP through Joomla global configuration mail settings. The form (any form) will then use that setting.
SMTP requires authentication, so you have to use the details your email provider (or web host) would give you. Those details can be typically found, for example in cPanel email settings, or any similar web host manager control panel. Or if using a third party email rather than one created on your hosting account, refer to the email provider for the SMTP information.
SMTP requires authentication, so you have to use the details your email provider (or web host) would give you. Those details can be typically found, for example in cPanel email settings, or any similar web host manager control panel. Or if using a third party email rather than one created on your hosting account, refer to the email provider for the SMTP information.
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
Re: Contact form?
I think I got it. I was able to fill out all the fields in Joomla related to this by simply copy-pasting the info from the PhpMailer I use on another project. However, I guess I won't be able to actually test it until I publish the project on my webhost.AMurray wrote: ↑Tue Apr 30, 2024 10:48 amYou set up SMTP through Joomla global configuration mail settings. The form (any form) will then use that setting.
SMTP requires authentication, so you have to use the details your email provider (or web host) would give you. Those details can be typically found, for example in cPanel email settings, or any similar web host manager control panel. Or if using a third party email rather than one created on your hosting account, refer to the email provider for the SMTP information.
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
- AMurray
- Joomla! Exemplar
- Posts: 9828
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Contact form?
Any capture should work with the form. HCaptcha for instance as mentioned above.
https://extensions.joomla.org/extension/hcaptcha/
It works similarly to Google Recaptcha in that it has the "I'm not a robot" check box and comes up with the occasional random additional challenge.
There are many 'captcha' options. https://extensions.joomla.org/instant-s ... 5D=captcha
https://extensions.joomla.org/extension/hcaptcha/
It works similarly to Google Recaptcha in that it has the "I'm not a robot" check box and comes up with the occasional random additional challenge.
There are many 'captcha' options. https://extensions.joomla.org/instant-s ... 5D=captcha
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
Re: Contact form?
Do you know if it's compatible with Joomla 5? I installed the extension and activated it. The Captcha box shows up in my form (though warning me the site is on localhost). It seems I can click the submit button without touching the captcha and the page refreshes. But this is just because it's on localhost, no?AMurray wrote: ↑Wed May 01, 2024 9:47 pmAny capture should work with the form. HCaptcha for instance as mentioned above.
https://extensions.joomla.org/extension/hcaptcha/
It works similarly to Google Recaptcha in that it has the "I'm not a robot" check box and comes up with the occasional random additional challenge.
There are many 'captcha' options. https://extensions.joomla.org/instant-s ... 5D=captcha
- AMurray
- Joomla! Exemplar
- Posts: 9828
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Contact form?
Yes, it works on J5 and it should work with the built-in contact form.
This is the jed listing and as you can see is tagged as J3, J4 and J5. I'd assume it would behave the same way as on a live web host, but perhaps you're right; the local server is not live.
Did you put in the public and private keys? You need to create an account on the Hcaptcha website to generate those keys.
This is the jed listing and as you can see is tagged as J3, J4 and J5. I'd assume it would behave the same way as on a live web host, but perhaps you're right; the local server is not live.
Did you put in the public and private keys? You need to create an account on the Hcaptcha website to generate those keys.
You do not have the required permissions to view the files attached to this post.
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Enthusiast
- Posts: 130
- Joined: Thu Mar 14, 2024 7:00 am
Re: Contact form?
Yes, I created an account and added both keys.AMurray wrote: ↑Thu May 02, 2024 9:30 pmYes, it works on J5 and it should work with the built-in contact form.
This is the jed listing and as you can see is tagged as J3, J4 and J5. I'd assume it would behave the same way as on a live web host, but perhaps you're right; the local server is not live.
Did you put in the public and private keys? You need to create an account on the Hcaptcha website to generate those keys.
hcaptcha.jpg
When using the Joomla built-in form, and you fill in the correct information and then hit submit (let's take away the captcha from this equation, this is the form behaviour in general), and the page refreshes, shouldn't there be a success-message "Email was sent" or the like? For me, the page just refreshes, but again, I am on localhost. Does the form behave this way on your end as well when submitting on localhost?
- AMurray
- Joomla! Exemplar
- Posts: 9828
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Contact form?
If you don't have localhost set up to send email then probably yes, it won't send.
If you want to check that Joomla sends email generally, go back to the global configuration - email settings and click the button to send the test email message. The system should tell you if it succeeded or failed and so if that succeeds one can assume the contact form should too. But as you say this may well be because you're on localhost and don't have a mail server set up.
I don't use the contact form, so don't know what type of feedback you get - at a minimum I would expect a "thank you, your email has been sent" message, but I don't know for sure.
If you want to check that Joomla sends email generally, go back to the global configuration - email settings and click the button to send the test email message. The system should tell you if it succeeded or failed and so if that succeeds one can assume the contact form should too. But as you say this may well be because you're on localhost and don't have a mail server set up.
I don't use the contact form, so don't know what type of feedback you get - at a minimum I would expect a "thank you, your email has been sent" message, but I don't know for sure.
Regards - A Murray
General Support Moderator
General Support Moderator
-
- Joomla! Intern
- Posts: 87
- Joined: Sat Aug 11, 2012 9:44 pm
Re: Contact form?
If you ever decided to go with a paid extension, I highly recommend Convert Forms. Tassos has made forms super easy. https://extensions.joomla.org/extension/convert-forms/
Last edited by imanickam on Fri May 03, 2024 1:52 pm, edited 1 time in total.
Reason: Per the forum rules, changed the url of the extension from the developer's url to JED url. Please do not repeat this again in the future.
Reason: Per the forum rules, changed the url of the extension from the developer's url to JED url. Please do not repeat this again in the future.
- JAVesey
- Joomla! Hero
- Posts: 2645
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Contact form?
There is also a free version of Convert Forms; it’s awesome and, following the latest update, doesn’t need the b/c plugin enabled on J5.1.0guy_in_ohio wrote: ↑Fri May 03, 2024 1:45 pmIf you ever decided to go with a paid extension, I highly recommend Convert Forms. Tassos has made forms super easy. https://extensions.joomla.org/extension/convert-forms/
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for MacOS with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for MacOS with PHP 8.2.4 and MariaDB 10.4.28