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

#   own fields

##

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

Less More

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

11 years 9 months ago [\#189675](#189675) by [pgoosen](/forum/user/34353-pgoosen "View pgoosen's Profile")  *[own fields](/forum/26-product-category-display/874787-own-fields#189675 "-- url of the page with the problem -- :   www.dedico.nl/index.php/ct-menu-item-11/...-security-verlenging  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 35.0.1  It's not an errormessage but when I have a product with 'own fields' and they are mandatory they can not be empty when added to the product. I don't want text in those fields. Is somebody presses submit it accepts the data I put in and not what the customer should put in.  Makes sense? On the example webpage the EAV fields are mandatory but I have to put something in them.")* was created by *[pgoosen](/forum/user/34353-pgoosen "View pgoosen's Profile")*

-- url of the page with the problem -- : [ www.dedico.nl/index.php/ct-menu-item-11/...-security-verlenging](http://www.dedico.nl/index.php/ct-menu-item-11/product/189-eset-smart-security-verlenging)
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.36
-- Browser(s) name and version -- : Firefox 35.0.1

It's not an errormessage but when I have a product with 'own fields' and they are mandatory they can not be empty when added to the product. I don't want text in those fields. Is somebody presses submit it accepts the data I put in and not what the customer should put in.

Makes sense? On the example webpage the EAV fields are mandatory but I have to put something in them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQ3ODctb3duLWZpZWxkcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#189683](#189683) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[own fields](/forum/26-product-category-display/874787-own-fields#189683 "-- url of the page with the problem -- :   www.dedico.nl/index.php/ct-menu-item-11/...-security-verlenging  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 35.0.1  It's not an errormessage but when I have a product with 'own fields' and they are mandatory they can not be empty when added to the product. I don't want text in those fields. Is somebody presses submit it accepts the data I put in and not what the customer should put in.  Makes sense? On the example webpage the EAV fields are mandatory but I have to put something in them.")*

Hi,

You should not define a default value for the required fields.
(I made an improvement for the next HikaShop release to let users configure a required custom field without default value ; without displaying a warning message).

The best will be to use a placeholder instead of a default text if you want to do in the same way you are doing now. But it will require some modifications in the custom field system.
It could be an interesting idea for an improvement.

Regards,

---

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

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

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

Less More

- Posts: 63
- Thank you received: 1
-
-

9 years 7 months ago [\#266751](#266751) by [mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")  Replied by *[mikekiy](/forum/user/33571-mikekiy "View mikekiy's Profile")* on topic *[own fields](/forum/26-product-category-display/874787-own-fields#266751 "-- url of the page with the problem -- :   www.dedico.nl/index.php/ct-menu-item-11/...-security-verlenging  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 35.0.1  It's not an errormessage but when I have a product with 'own fields' and they are mandatory they can not be empty when added to the product. I don't want text in those fields. Is somebody presses submit it accepts the data I put in and not what the customer should put in.  Makes sense? On the example webpage the EAV fields are mandatory but I have to put something in them.")*

Was there any updates to this, I've been hard coding in my placeholders. But now I am on the customfields this would mean a check for each custom field in an override file.

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

9 years 7 months ago [\#266755](#266755) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[own fields](/forum/26-product-category-display/874787-own-fields#266755 "-- url of the page with the problem -- :   www.dedico.nl/index.php/ct-menu-item-11/...-security-verlenging  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : Firefox 35.0.1  It's not an errormessage but when I have a product with 'own fields' and they are mandatory they can not be empty when added to the product. I don't want text in those fields. Is somebody presses submit it accepts the data I put in and not what the customer should put in.  Makes sense? On the example webpage the EAV fields are mandatory but I have to put something in them.")*

Hi,

I don't understand what you mean.
You sure can have placeholders in custom fields. There is a specific placeholder setting for that in the custom fields edition interface.
And you sure can have an empty value if necessary.
It shouldn't require any code modification.

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

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