Skip to main content

Contact Form Validation

More
10 years 7 months ago #230673 by Rob23
-- HikaShop version -- : 2.6.1

When using the contact form that customers can click inside the product page, is there a simple way to add validation to the email field to make sure they have typed in a proper email address?

Also, is there a way to use one of the other Joomla contact forms with the above mentioned Hikashop contact page where it will add the product name to the form as it does with the one that comes with Hikashop?

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #230674 by nicolas
Replied by nicolas on topic Contact Form Validation
Hi,

The email field is already checked with the same javascript check that there is on the registration form of HikaShop. The regex is:
Code:
^([a-z0-9_'&\.\-\+])+\@(([a-z0-9\-])+\.)+([a-z0-9]{2,10})+$

It's not possible to use another contact form than HikaShop's with the contact button of the product page so that you could pass on the product name.

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #230724 by Rob23
Replied by Rob23 on topic Contact Form Validation
Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum