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

#   Custom Field Validation Issue

##

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

7 months 1 week ago [\#370907](#370907) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370907 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")* was created by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")*

-- HikaShop version -- : 6.4.0
-- Joomla version -- : 5.4.3
-- PHP version -- : 8.2.30
-- Browser(s) name and version -- : Firefox 148.0.2

I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

7 months 1 week ago [\#370909](#370909) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370909 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

Can I just reinstall 6.1.0 over 6.4.0?

I also found that variants are not working properly. There's two choices, one that add $5 and the other that doesn't. When selecting the option with no added cost and then adding the product to the shopping cart, what shows up in the cart is with the $5 extra option.

Also, I can't say that I like the backend changes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkxMDIwMC1jdXN0b20tZmllbGQtdmFsaWRhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

7 months 1 week ago -  7 months 1 week ago [\#370908](#370908) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370908 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

Hi,

Thank you for the report. We tested a required text field with no regex on our test site with HikaShop 6.4.0 and the validation works correctly. The field accepts any text input without showing the error message.

Since you upgraded from 6.1.0 to 6.4.0, could you check if you have a view override for the product page? In 6.4.0, the product page form structure was changed, and old view overrides can cause issues with field validation.

Please check if you have any of these files in your Joomla template folder:
- &#96;templates/{your_template}/html/com_hikashop/product/show.php&#96;
- &#96;templates/{your_template}/html/com_hikashop/product/show_default.php&#96;
- &#96;templates/{your_template}/html/com_hikashop/product/show_block_custom_item.php&#96;

If any of these exist, try renaming the folder &#96;templates/{your_template}/html/com_hikashop/product/&#96; to &#96;product_backup/&#96; temporarily and test again. If the validation then works correctly, you'll need to update your view overrides to be compatible with the 6.4.0 form structure. You can compare your overrides with the original files using the Display &gt; Views page in HikaShop's backend.

The issue with the variants is most likely the same origin.

You sure can downgrade if you want by installing the 6.1.0 package.

Regarding the backend changes, what do you no like ? It's not like we've changed everything between the 6.1.0 and the 6.4.0 in the backend, so I'm surprised. Could you maybe point at the issues you have with the backend before downgrading ?

Last edit: 7 months 1 week ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

7 months 6 days ago [\#370920](#370920) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370920 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

It was an override issue. Not even sure why the site had any overrides. The custom field validation is now working.

With variants, I needed to define a price for each. With 6.1.0, it would use the product price for any that didn't have a variant price.

6.4.0 Backend Issues:
+ The filtering options on the Orders page are stacked. They used to be in line, taking up less vertical space. See screenshot.
+ Can the page layout features be disabled, like when editing a product? Even when I deactivate form customization, I still see some of those layout controls. I find that all to be visual clutter for normal use.
+ On the products page, the Description section flashes on and off. However, I was noticing that with 6.1.0. If I toggle to the editor, it goes right back to the normal view.

On a different note, on the Orders page, can it remember the "Display #" selection? I often find that I need to see more than 20 orders, but as soon as I log back in, it is back to 20.

- [ ![screenshot1.png](/forum/attachment/61302) ](/forum/attachment/61302 "screenshot1.png") [ ](/forum/attachment/61302?download=1 "screenshot1.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkxMDIwMC1jdXN0b20tZmllbGQtdmFsaWRhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

7 months 5 days ago [\#370924](#370924) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370924 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

Hi,

Check the "backend CSS" setting under the Display tab of the HikaShop configuration.
What you describe indicates that you're using an old version of that CSS, not the default one and thus you're missing the new CSS we've added for the filters, and the form customization.
Regarding the flashing description, I'm not sure what you mean as I don't think I've seen this problem. I would need more details on the problem.

Regarding the default number of elements, it depends on the main setting of the Joomla configuration. So I would recommend increasing it there.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

7 months 4 days ago [\#370946](#370946) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370946 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

I switched to default backend CSS. That improved it somewhat, but it's not all inline. See screenshot. That did clean up most of the visual clutter I was seeing when editing a product.

As for the flashing, it still exists with the default backend CSS. That area literally flashes. I cannot toggle the editor nor resize the box. See [ video clip](https://photos.app.goo.gl/fBpvyBwgU3nBGhSr9)

I was able to find how to change the number of records shown via the Joomla config. I must have missed that when I looked before.

- [ ![screenshot.png](/forum/attachment/61304) ](/forum/attachment/61304 "screenshot.png") [ ](/forum/attachment/61304?download=1 "screenshot.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkxMDIwMC1jdXN0b20tZmllbGQtdmFsaWRhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

7 months 4 days ago [\#370953](#370953) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370953 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

Hi,

I'm not sure what it could be.
We might have to directly look into it.
First thing would be to click on the "disable form customization" button at the bottom of the product edit form and save. Then, see if you still have the issue.
You can provide a backend access via our contact form so that we can look deeper into the issue.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

7 months 4 days ago [\#370956](#370956) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370956 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

That was with the form customization disabled.

I'll provide the backend access.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkxMDIwMC1jdXN0b20tZmllbGQtdmFsaWRhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

7 months 4 days ago [\#370958](#370958) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370958 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

Hi,

Regarding the description field flickering in Firefox, we've investigated and this is a confirmed Joomla bug, not a HikaShop issue. It affects all TinyMCE editors in Firefox, including when editing Joomla articles.

The bug is in Joomla's TinyMCE integration code (&#96;media/plg_editors_tinymce/js/tinymce.js&#96;). An iframe &#96;load&#96; event listener that reinitializes TinyMCE creates an infinite loop in Firefox where each reinitialization triggers a new &#96;load&#96; event.

This was fixed in Joomla 5.4.4 via this pull request: [ github.com/joomla/joomla-cms/pull/46889](https://github.com/joomla/joomla-cms/pull/46889)

Since you are on Joomla 5.4.3, you have two options:

1. Update Joomla to 5.4.4 or later.
2. Apply the community hotfix available here: [ github.com/brianteeman/tinymce-firefoxfix/releases](https://github.com/brianteeman/tinymce-firefoxfix/releases) . These are drop-in replacement files for &#96;media/plg_editors_tinymce/js/tinymce.js&#96; and &#96;tinymce.min.js&#96;.

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

- **[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")**
- [![gpraceman's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37240.png)](/forum/user/37240-gpraceman "View gpraceman's Profile") Topic Author
- [ Offline](/forum/user/37240-gpraceman)

Less More

- Posts: 166
- Thank you received: 11
-
- [](http://grandprix-software-central.com)
-

7 months 3 days ago [\#370970](#370970) by [gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")  Replied by *[gpraceman](/forum/user/37240-gpraceman "View gpraceman's Profile")* on topic *[Custom Field Validation Issue](/forum/25-install-update/910200-custom-field-validation-issue#370970 "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 5.4.3 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox 148.0.2  I just updated our site to Business 6.4.0 from 6.1.0. I have a custom field that is required, but no regex was specified. With 6.1.0, the customer could put any text in the box and it would be accepted. With 6.4.0, no matter what the customer puts in the box, it shows the custom error message. I did try several regular expressions and all still resulted in the custom error message. I've had to make it non-required for now.")*

I applied the hotfix, since there is no version 5.4.4. Flashing problem is now resolved.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkxMDIwMC1jdXN0b20tZmllbGQtdmFsaWRhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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.403 seconds

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

[](#top)
