- Posts: 575
- Thank you received: 11
No error message for contact page email validation
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
3 years 10 months ago #347719
by ler@singmuiheng.com
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.2.34
-- Browser(s) name and version -- : chrome
Hi, as you can see in the attachment file, if the email format is incorrect, the form will check and won't allow user to submit the form, but now it is lack of the error message that cannot alert the user when the email address is wrong format, can you show me where can add the error message when the email format enter by user is incorrect after click the submit button.
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.2.34
-- Browser(s) name and version -- : chrome
Hi, as you can see in the attachment file, if the email format is incorrect, the form will check and won't allow user to submit the form, but now it is lack of the error message that cannot alert the user when the email address is wrong format, can you show me where can add the error message when the email format enter by user is incorrect after click the submit button.
Please Log in or Create an account to join the conversation.
3 years 10 months ago #347726
by nicolas
Replied by nicolas on topic No error message for contact page email validation
Hi,
I see two potential issues on your page:
- There is a javascript error when the page is loaded:
i.imgur.com/fctOEbf.png
This could prevent the javascript code of the contact form from working properly because it couldn't be initialized properly.
- You have a really old version of HikaShop with old code to handle the contact form with an old view override.
Since then, we've modified the contact form quite a lot to make it work better.
Updating HikaShop / redoing the view override should help, even with the javascript error still there.
I see two potential issues on your page:
- There is a javascript error when the page is loaded:
i.imgur.com/fctOEbf.png
This could prevent the javascript code of the contact form from working properly because it couldn't be initialized properly.
- You have a really old version of HikaShop with old code to handle the contact form with an old view override.
Since then, we've modified the contact form quite a lot to make it work better.
Updating HikaShop / redoing the view override should help, even with the javascript error still there.
Please Log in or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
3 years 10 months ago #347759
by ler@singmuiheng.com
Replied by ler@singmuiheng.com on topic No error message for contact page email validation
Even I have overwrite the file and remove the jquery conflict, there is still now error message for email
Please Log in or Create an account to join the conversation.
3 years 10 months ago #347760
by nicolas
Replied by nicolas on topic No error message for contact page email validation
Could you also update your HikaShop ? That should help.
Please Log in or Create an account to join the conversation.
Time to create page: 0.048 seconds