[Skip to main content](#vessel-content)

#   Checkout : Registration form Error message validations

##

- **[naveedm](/forum/user/45494-naveedm "View naveedm's Profile")**
- [![naveedm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45494-naveedm "View naveedm's Profile") Topic Author
- [ Offline](/forum/user/45494-naveedm)

Less More

- Posts: 95
- Thank you received: 0
-
-

8 years 9 months ago [\#287717](#287717) by [naveedm](/forum/user/45494-naveedm "View naveedm's Profile")  *[Checkout : Registration form Error message validations](/forum/27-checkout/893764-checkout-registration-form-error-message-validations#287717 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : mozila firfox -- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?  Hello Team,  I want to customize Error messages of registration validation form.")* was created by *[naveedm](/forum/user/45494-naveedm "View naveedm's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 5.6.26
-- Browser(s) name and version -- : mozila firfox
-- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?

Hello Team,

I want to customize Error messages of registration validation form.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzc2NC1jaGVja291dC1yZWdpc3RyYXRpb24tZm9ybS1lcnJvci1tZXNzYWdlLXZhbGlkYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 9 months ago [\#287742](#287742) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout : Registration form Error message validations](/forum/27-checkout/893764-checkout-registration-form-error-message-validations#287742 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : mozila firfox -- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?  Hello Team,  I want to customize Error messages of registration validation form.")*

Hi,

Mmm. I'm not sure what you mean.
If you want to change the text of the messages for the custom fields, you can either:
- use a translation override to change the generic message:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)
- edit the custom fields via the menu Display&gt;Custom fields and enter the message text you want for each custom field in the corresponding setting of the field.
If you want to change the way the error messages look like, you can use CSS:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)
But even if I told you that the javascript code handling the checkout is in media/com_hikashop/js/checkout.js there I nothing you can do there as far as I can see.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzc2NC1jaGVja291dC1yZWdpc3RyYXRpb24tZm9ybS1lcnJvci1tZXNzYWdlLXZhbGlkYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[naveedm](/forum/user/45494-naveedm "View naveedm's Profile")**
- [![naveedm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45494-naveedm "View naveedm's Profile") Topic Author
- [ Offline](/forum/user/45494-naveedm)

Less More

- Posts: 95
- Thank you received: 0
-
-

8 years 9 months ago [\#287867](#287867) by [naveedm](/forum/user/45494-naveedm "View naveedm's Profile")  Replied by *[naveedm](/forum/user/45494-naveedm "View naveedm's Profile")* on topic *[Checkout : Registration form Error message validations](/forum/27-checkout/893764-checkout-registration-form-error-message-validations#287867 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : mozila firfox -- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?  Hello Team,  I want to customize Error messages of registration validation form.")*

HI,
I have checked your gevin path of checkout js file path. but there only same function and not found exact ajax response path.
SO Please let me know the file path of checkout validation of registration form that is coming by ajax response.

I want to change validation error display as jQuery validation that will be related with each fields.
Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzc2NC1jaGVja291dC1yZWdpc3RyYXRpb24tZm9ybS1lcnJvci1tZXNzYWdlLXZhbGlkYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 9 months ago [\#287869](#287869) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout : Registration form Error message validations](/forum/27-checkout/893764-checkout-registration-form-error-message-validations#287869 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : mozila firfox -- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?  Hello Team,  I want to customize Error messages of registration validation form.")*

Hi,

If you want to add javascript validation on the fields of the registration form, then you can add your javascript to one of the views displying the registration form.
I would recommend for example the view file "sub_block_login_registration" that you can edit via the menu Display&gt;Views.
[ stackoverflow.com/questions/14544104/che...check-event-listener](https://stackoverflow.com/questions/14544104/checkbox-check-event-listener)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzc2NC1jaGVja291dC1yZWdpc3RyYXRpb24tZm9ybS1lcnJvci1tZXNzYWdlLXZhbGlkYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[naveedm](/forum/user/45494-naveedm "View naveedm's Profile")**
- [![naveedm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45494-naveedm "View naveedm's Profile") Topic Author
- [ Offline](/forum/user/45494-naveedm)

Less More

- Posts: 95
- Thank you received: 0
-
-

8 years 9 months ago [\#287913](#287913) by [naveedm](/forum/user/45494-naveedm "View naveedm's Profile")  Replied by *[naveedm](/forum/user/45494-naveedm "View naveedm's Profile")* on topic *[Checkout : Registration form Error message validations](/forum/27-checkout/893764-checkout-registration-form-error-message-validations#287913 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : mozila firfox -- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?  Hello Team,  I want to customize Error messages of registration validation form.")*

Hello,

Thanks for response, But it is not my answer.
I asking to file where hikashop assigning ajax response message to html after check database and that is showing "system-message-container"

For Example: if I submit wrong username and password in login form then it showing like " Password or username does not match" So that is comes after check database by ajax post and assigned to "system-message-container".

But I want to assign to other html like near by fields, client don't like this format.

So please only tell me where is the code of ajax response of validation.

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzc2NC1jaGVja291dC1yZWdpc3RyYXRpb24tZm9ybS1lcnJvci1tZXNzYWdlLXZhbGlkYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

8 years 9 months ago [\#287917](#287917) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout : Registration form Error message validations](/forum/27-checkout/893764-checkout-registration-form-error-message-validations#287917 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : mozila firfox -- Error-message(debug-mod must be tuned on) -- : I want to customize Error messages of Hikashop registration form, So I want to know where is Ajax code file?  Hello Team,  I want to customize Error messages of registration validation form.")*

Hi,

There is no "system-message-container" in HikaShop.
HikaShop has two ways to display error messages:
- using the hikashop_display function in administrator/components/com_hikashop/helpers/helper.php
You can see there the HTML used which doesn't contain that text:
[ monosnap.com/file/T34wrRA1nB8BOFbhpDS8crmuxUFd0G](https://monosnap.com/file/T34wrRA1nB8BOFbhpDS8crmuxUFd0G)
- using Joomla's error message system. In that case, it's Joomla or your template which generates the HTML and the CSS of the error message.
I've tried on your website and on your checkout, I only saw the first type of messages.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzc2NC1jaGVja291dC1yZWdpc3RyYXRpb24tZm9ybS1lcnJvci1tZXNzYWdlLXZhbGlkYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
