Contact Form Validation

  • Posts: 5
  • Thank you received: 0
8 years 9 months ago #230673

-- 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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 9 months ago #230674

Hi,

The email field is already checked with the same javascript check that there is on the registration form of HikaShop. The regex is:

^([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.

  • Posts: 5
  • Thank you received: 0
8 years 9 months ago #230724

Thanks

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

Time to create page: 0.056 seconds
Powered by Kunena Forum