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

#   Check box default value

##

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

Less More

- Posts: 80
- Thank you received: 0
-
-

8 years 5 months ago [\#293561](#293561) by [idimarco](/forum/user/40745-idimarco "View idimarco's Profile")  *[Check box default value](/forum/27-checkout/894902-check-box-default-value#293561 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello,  I created a Checkbox custom field for the registration form, but I cannot set the default value to unchecked. It does not work when I uncheck the Default value and Save it. It would be necessary to be unchecked by default for the privacy policy checkbox because of the GDPR. The solution to change the value to 0 does not work. Could you please assist me? Thanks")* was created by *[idimarco](/forum/user/40745-idimarco "View idimarco's Profile")*

-- HikaShop version -- : 3.4
-- Joomla version -- : 3.8.7
-- PHP version -- : 7.0

Hello,

I created a Checkbox custom field for the registration form, but I cannot set the default value to unchecked.
It does not work when I uncheck the Default value and Save it.
It would be necessary to be unchecked by default for the privacy policy checkbox because of the GDPR.
The solution to change the value to 0 does not work. Could you please assist me?
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDkwMi1jaGVjay1ib3gtZGVmYXVsdC12YWx1ZT90bXBsPW1hcmtkb3du) 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 5 months ago [\#293562](#293562) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Check box default value](/forum/27-checkout/894902-check-box-default-value#293562 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello,  I created a Checkbox custom field for the registration form, but I cannot set the default value to unchecked. It does not work when I uncheck the Default value and Save it. It would be necessary to be unchecked by default for the privacy policy checkbox because of the GDPR. The solution to change the value to 0 does not work. Could you please assist me? Thanks")*

Hi,

Please provide a screenshot of the settings of your custom field.

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

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

Less More

- Posts: 80
- Thank you received: 0
-
-

8 years 5 months ago [\#293578](#293578) by [idimarco](/forum/user/40745-idimarco "View idimarco's Profile")  Replied by *[idimarco](/forum/user/40745-idimarco "View idimarco's Profile")* on topic *[Check box default value](/forum/27-checkout/894902-check-box-default-value#293578 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello,  I created a Checkbox custom field for the registration form, but I cannot set the default value to unchecked. It does not work when I uncheck the Default value and Save it. It would be necessary to be unchecked by default for the privacy policy checkbox because of the GDPR. The solution to change the value to 0 does not work. Could you please assist me? Thanks")*

Hi Nicolas, please find screenshots as requested.

- [ ![Capturecheckbox.JPG](/forum/attachment/43852) ](/forum/attachment/43852 "...recheckbox.JPG") [ ](/forum/attachment/43852?download=1 "...recheckbox.JPG")
- [ ![Capturecheckbox&#95;gdpr.JPG](/forum/attachment/43853) ](/forum/attachment/43853 "...ckbox&#95;gdpr.JPG") [ ](/forum/attachment/43853?download=1 "...ckbox&#95;gdpr.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDkwMi1jaGVjay1ib3gtZGVmYXVsdC12YWx1ZT90bXBsPW1hcmtkb3du) 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 5 months ago [\#293604](#293604) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Check box default value](/forum/27-checkout/894902-check-box-default-value#293604 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello,  I created a Checkbox custom field for the registration form, but I cannot set the default value to unchecked. It does not work when I uncheck the Default value and Save it. It would be necessary to be unchecked by default for the privacy policy checkbox because of the GDPR. The solution to change the value to 0 does not work. Could you please assist me? Thanks")*

Hi,

You need to enter something in the "value" field of the values area of your custom field. Then, you'll see that you can properly set the default value and that it will work properly on the frontend.
If you don't, then when the checkbox is checked it will be considered as "empty" and empty is also considered as not checked and thus the checkbox won't work properly.

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

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

Less More

- Posts: 80
- Thank you received: 0
-
-

8 years 5 months ago [\#293649](#293649) by [idimarco](/forum/user/40745-idimarco "View idimarco's Profile")  Replied by *[idimarco](/forum/user/40745-idimarco "View idimarco's Profile")* on topic *[Check box default value](/forum/27-checkout/894902-check-box-default-value#293649 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.7 -- PHP version -- : 7.0  Hello,  I created a Checkbox custom field for the registration form, but I cannot set the default value to unchecked. It does not work when I uncheck the Default value and Save it. It would be necessary to be unchecked by default for the privacy policy checkbox because of the GDPR. The solution to change the value to 0 does not work. Could you please assist me? Thanks")*

Fine! It works. Thanks a lot for your help.

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

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