- Posts: 109
- Thank you received: 5
Inconsistent Error Message Display and Behaviour
12 years 3 weeks ago #178444
by Ed_Hika
Inconsistent Error Message Display and Behaviour was created by Ed_Hika
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
Hello, there.
Good evening!
The field validation behaviour and error message display are inconsistent during the checkout process. Sometimes the error is displayed as a popup and the user cannot proceed until the error is corrected (i.e. one error at a time) whilst at other times, the errors are lumped together (and the user is allowed to continue to the next field and/or step) and then, all the errors are displayed together at the Joomla! message area.
Please see the attached images.
Thanks.
Take care!
-- Joomla version -- : 3.3.6
Hello, there.
Good evening!
The field validation behaviour and error message display are inconsistent during the checkout process. Sometimes the error is displayed as a popup and the user cannot proceed until the error is corrected (i.e. one error at a time) whilst at other times, the errors are lumped together (and the user is allowed to continue to the next field and/or step) and then, all the errors are displayed together at the Joomla! message area.
Please see the attached images.
Thanks.
Take care!
Please Log in or Create an account to join the conversation.
12 years 3 weeks ago #178486
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Inconsistent Error Message Display and Behaviour
Hi,
We are currently working on a re-factoring of the checkout for HikaShop 3.0
The new checkout will handle it with more consistency.
Regards,
We are currently working on a re-factoring of the checkout for HikaShop 3.0
The new checkout will handle it with more consistency.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #178842
by Ed_Hika
Replied by Ed_Hika on topic Inconsistent Error Message Display and Behaviour
Thanks, Jerome. Looking forward to it. Please could you let me know when the anticipated release of Version 3.0 is?
Also, in the meantime, please could you let me know how to do the following?
I am including a captcha field for the user to input for login/registration during the checkout process. I have managed to display the captcha and obtain the user input. What I have not been able to do is to check the user input upon the user clicking the login/register button. Please could you tell me where in the code that need to validate this and how to throw up a Joomla user error? A sample code will help greatly.
Thanks.
Take care!
Also, in the meantime, please could you let me know how to do the following?
I am including a captcha field for the user to input for login/registration during the checkout process. I have managed to display the captcha and obtain the user input. What I have not been able to do is to check the user input upon the user clicking the login/register button. Please could you tell me where in the code that need to validate this and how to throw up a Joomla user error? A sample code will help greatly.
Thanks.
Take care!
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #178906
by nicolas
Replied by nicolas on topic Inconsistent Error Message Display and Behaviour
Hi,
We don't have any date defined for that but I guess we should have it done in 6 months from now.
You want to implement the onUserLogin/onAfterStoreUser trigger of Joomla in a joomla user plugin.
We did the same with our reCaptcha plugin so it should be a good example for you:
www.hikashop.com/support/support/documen...-with-recaptcha.html
We don't have any date defined for that but I guess we should have it done in 6 months from now.
You want to implement the onUserLogin/onAfterStoreUser trigger of Joomla in a joomla user plugin.
We did the same with our reCaptcha plugin so it should be a good example for you:
www.hikashop.com/support/support/documen...-with-recaptcha.html
Please Log in or Create an account to join the conversation.
12 years 3 days ago #181248
by Ed_Hika
Replied by Ed_Hika on topic Inconsistent Error Message Display and Behaviour
Thank you, Nicolas. Your reference to the Hikashop recaptcha plugin is a very useful example. I have (finally) managed to display the custom captcha during the Registration of a new user.
Please could you give me an idea of the code that is required to display the captcha during the Login process?
Thanks again.
Take care!
Please could you give me an idea of the code that is required to display the captcha during the Login process?
Thanks again.
Take care!
Please Log in or Create an account to join the conversation.
12 years 2 days ago #181339
by nicolas
Replied by nicolas on topic Inconsistent Error Message Display and Behaviour
Hi,
For the login it's basically the same as for the registration.
The difference is that you'll want to modify a bit the regex parsing the page to insert your captcha in the login form, and instead of catching the data from the post in the onAfterStoreUser trigger of your plugin, you can catch it in the onUserLogin trigger.
For the login it's basically the same as for the registration.
The difference is that you'll want to modify a bit the regex parsing the page to insert your captcha in the login form, and instead of catching the data from the post in the onAfterStoreUser trigger of your plugin, you can catch it in the onUserLogin trigger.
The following user(s) said Thank You: Ed_Hika
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds