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

#   change javascript error alerts to notifications

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 8 months ago [\#90757](#90757) by [natanjarorije](/forum/user/13087-natanjarorije "View natanjarorije's Profile")  *[change javascript error alerts to notifications](/forum/4-how-to/78500-change-javascript-error-alerts-to-notifications#90757 "Hi there, I use the option &quot;no registration&quot; for my store, so people dont have to create an account but only emailadres and address information. Whe they don't fill in a required field, a javascript error pops up. Is it possible to change this? So that the error is displaying in my div with  instead of a ugly popup?  Thanks in advance")* was created by *[natanjarorije](/forum/user/13087-natanjarorije "View natanjarorije's Profile")*

Hi there,
I use the option "no registration" for my store, so people dont have to create an account but only emailadres and address information. Whe they don't fill in a required field, a javascript error pops up. Is it possible to change this? So that the error is displaying in my div with &lt;jdoc:include type="message" /&gt; instead of a ugly popup?

Thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAwLWNoYW5nZS1qYXZhc2NyaXB0LWVycm9yLWFsZXJ0cy10by1ub3RpZmljYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#90891](#90891) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[change javascript error alerts to notifications](/forum/4-how-to/78500-change-javascript-error-alerts-to-notifications#90891 "Hi there, I use the option &quot;no registration&quot; for my store, so people dont have to create an account but only emailadres and address information. Whe they don't fill in a required field, a javascript error pops up. Is it possible to change this? So that the error is displaying in my div with  instead of a ugly popup?  Thanks in advance")*

Hi,

It would not be possible to add the Joomla message system in Javascript because the page is not reloaded.
But, you can access to the javascript code in the hikashop.js file and change the way that the alert is made, with a less intrusive popup system maybe.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [natanjarorije](/forum/user/13087-natanjarorije "View natanjarorije's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAwLWNoYW5nZS1qYXZhc2NyaXB0LWVycm9yLWFsZXJ0cy10by1ub3RpZmljYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 8 months ago [\#90960](#90960) by [natanjarorije](/forum/user/13087-natanjarorije "View natanjarorije's Profile")  Replied by *[natanjarorije](/forum/user/13087-natanjarorije "View natanjarorije's Profile")* on topic *[change javascript error alerts to notifications](/forum/4-how-to/78500-change-javascript-error-alerts-to-notifications#90960 "Hi there, I use the option &quot;no registration&quot; for my store, so people dont have to create an account but only emailadres and address information. Whe they don't fill in a required field, a javascript error pops up. Is it possible to change this? So that the error is displaying in my div with  instead of a ugly popup?  Thanks in advance")*

oke thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAwLWNoYW5nZS1qYXZhc2NyaXB0LWVycm9yLWFsZXJ0cy10by1ub3RpZmljYXRpb25zP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.061 seconds

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

[](#top)
