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

#   required custom field failing validation even when filled

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 1 month ago [\#279729](#279729) by [teamwork](/forum/user/46570-teamwork "View teamwork's Profile")  *[required custom field failing validation even when filled](/forum/26-product-category-display/892219-required-custom-field-failing-validation-even-when-filled#279729 "I have a custom field that will not pass validation in order to add to cart.... even if i set to 'not required', it is passing blank data.... screenshot attached....")* was created by *[teamwork](/forum/user/46570-teamwork "View teamwork's Profile")*

I have a custom field that will not pass validation in order to add to cart....
even if i set to 'not required', it is passing blank data....
screenshot attached....

- [ ![Screenshot2017-10-0317.35.05.png](/forum/attachment/40700) ](/forum/attachment/40700 "...0317.35.05.png") [ ](/forum/attachment/40700?download=1 "...0317.35.05.png")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 1 month ago [\#279749](#279749) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[required custom field failing validation even when filled](/forum/26-product-category-display/892219-required-custom-field-failing-validation-even-when-filled#279749 "I have a custom field that will not pass validation in order to add to cart.... even if i set to 'not required', it is passing blank data.... screenshot attached....")*

Hello,

You'll seem to also have other required custom fields, can you test it without any required custom field ? If it's not working, can you show us screenshots of how you configured your custom fields ?

Thank you !

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 1 month ago -  9 years 1 month ago [\#279838](#279838) by [teamwork](/forum/user/46570-teamwork "View teamwork's Profile")  Replied by *[teamwork](/forum/user/46570-teamwork "View teamwork's Profile")* on topic *[required custom field failing validation even when filled](/forum/26-product-category-display/892219-required-custom-field-failing-validation-even-when-filled#279838 "I have a custom field that will not pass validation in order to add to cart.... even if i set to 'not required', it is passing blank data.... screenshot attached....")*

Hello!

I've tested it without required custom fields. Although the item is added to the cart when the fields are not required, the custom field data doesn't seem to save. Screenshots 1 and 2 illustrate this.

[ ![1.JPG](/forum/attachment/40722) ](/forum/attachment/40722 "1.JPG")

[ ![2.JPG](/forum/attachment/40723) ](/forum/attachment/40723 "2.JPG")

Screenshot 3 is the custom fields in list view after being made not required.
[ ![3.JPG](/forum/attachment/40724) ](/forum/attachment/40724 "3.JPG")

Screenshot 4 is the settings for one of the required custom fields after re-enabling them.
[ ![4.JPG](/forum/attachment/40725) ](/forum/attachment/40725 "4.JPG")

From the message the cart is giving when trying to add an item with a required field, it seems like it thinks the field is blank even when it is filled out.
[ ![5.JPG](/forum/attachment/40726) ](/forum/attachment/40726 "5.JPG")

- [ ![1.JPG](/forum/attachment/40722) ](/forum/attachment/40722 "1.JPG") [ ](/forum/attachment/40722?download=1 "1.JPG")
- [ ![2.JPG](/forum/attachment/40723) ](/forum/attachment/40723 "2.JPG") [ ](/forum/attachment/40723?download=1 "2.JPG")
- [ ![3.JPG](/forum/attachment/40724) ](/forum/attachment/40724 "3.JPG") [ ](/forum/attachment/40724?download=1 "3.JPG")
- [ ![4.JPG](/forum/attachment/40725) ](/forum/attachment/40725 "4.JPG") [ ](/forum/attachment/40725?download=1 "4.JPG")
- [ ![5.JPG](/forum/attachment/40726) ](/forum/attachment/40726 "5.JPG") [ ](/forum/attachment/40726?download=1 "5.JPG")

Last edit: 9 years 1 month ago by [teamwork](/forum/user/46570-teamwork "View teamwork's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 1 month ago -  9 years 1 month ago [\#279870](#279870) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[required custom field failing validation even when filled](/forum/26-product-category-display/892219-required-custom-field-failing-validation-even-when-filled#279870 "I have a custom field that will not pass validation in order to add to cart.... even if i set to 'not required', it is passing blank data.... screenshot attached....")*

Hello,

We try to reproduce your issue by created a custom field that **match with your configuration**, and from our side everything seems work well.
Can you provide an **Url to your concerned product**, that will able us to process some tests.

**Note** : If needed, you can use our [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form to provide elements, just don't forget to add an **Url link to this topic**.
Maybe, we need to have Front end **User access** to process tests ?

Regards

Last edit: 9 years 1 month ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 1 month ago [\#279923](#279923) by [teamwork](/forum/user/46570-teamwork "View teamwork's Profile")  Replied by *[teamwork](/forum/user/46570-teamwork "View teamwork's Profile")* on topic *[required custom field failing validation even when filled](/forum/26-product-category-display/892219-required-custom-field-failing-validation-even-when-filled#279923 "I have a custom field that will not pass validation in order to add to cart.... even if i set to 'not required', it is passing blank data.... screenshot attached....")*

Sure thing! email sent.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTIyMTktcmVxdWlyZWQtY3VzdG9tLWZpZWxkLWZhaWxpbmctdmFsaWRhdGlvbi1ldmVuLXdoZW4tZmlsbGVkP3RtcGw9bWFya2Rvd24=) 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: 14325
-
-

9 years 1 month ago [\#279984](#279984) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[required custom field failing validation even when filled](/forum/26-product-category-display/892219-required-custom-field-failing-validation-even-when-filled#279984 "I have a custom field that will not pass validation in order to add to cart.... even if i set to 'not required', it is passing blank data.... screenshot attached....")*

Hi,

The issu is that you're using the "characteristic selection method" in "list" mode and that mode is not yet compatible with custom item fields.
I've added a task for us to add that to the next version of HikaShop as top priority.
In the mean time, I would recommend to use another selection method like "dropdown" or "radio" so that it would take into account the custom item fields.

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

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