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

#   Code lines showing in data custom fields

##

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

Less More

- Posts: 91
- Thank you received: 5
-
-

8 years 7 months ago [\#290697](#290697) by [bolando](/forum/user/38611-bolando "View bolando's Profile")  *[Code lines showing in data custom fields](/forum/32-content-creation/894331-code-lines-showing-in-data-custom-fields#290697 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.26 -- Browser(s) name and version -- : Chrome 65 -- Error-message(debug-mod must be tuned on) -- : &quot;,disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(0); if(date today) { return true; } return false; }, //  I created 2 data custom fields (showing data like 2018-11-10) in the Order group and after the client fills them and sends the order, some strange data appear there. I attach 2 screenshots. What is worse, the data appears also in the email sent to the client.  I have no modifications.  Please help")* was created by *[bolando](/forum/user/38611-bolando "View bolando's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.0.26
-- Browser(s) name and version -- : Chrome 65
-- Error-message(debug-mod must be tuned on) -- : ",disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(0); if(date today) { return true; } return false; }, //

I created 2 data custom fields (showing data like 2018-11-10) in the Order group and after the client fills them and sends the order, some strange data appear there. I attach 2 screenshots. What is worse, the data appears also in the email sent to the client.

I have no modifications.

Please help

- [ ![data-error.jpg](/forum/attachment/43230) ](/forum/attachment/43230 "data-error.jpg") [ ](/forum/attachment/43230?download=1 "data-error.jpg")
- [ ![data-error2.jpg](/forum/attachment/43231) ](/forum/attachment/43231 "data-error2.jpg") [ ](/forum/attachment/43231?download=1 "data-error2.jpg")

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

8 years 7 months ago [\#290704](#290704) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Code lines showing in data custom fields](/forum/32-content-creation/894331-code-lines-showing-in-data-custom-fields#290704 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.26 -- Browser(s) name and version -- : Chrome 65 -- Error-message(debug-mod must be tuned on) -- : &quot;,disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(0); if(date today) { return true; } return false; }, //  I created 2 data custom fields (showing data like 2018-11-10) in the Order group and after the client fills them and sends the order, some strange data appear there. I attach 2 screenshots. What is worse, the data appears also in the email sent to the client.  I have no modifications.  Please help")*

Hi,

That's because of the way Joomla 3 handles the date formatting with this old datepicker.
You should change the type of your custom field to "advanced date picker" in order to use our own datepicker which is more powerful, and doesn't have these issues.

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

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

Less More

- Posts: 91
- Thank you received: 5
-
-

8 years 7 months ago [\#290767](#290767) by [bolando](/forum/user/38611-bolando "View bolando's Profile")  Replied by *[bolando](/forum/user/38611-bolando "View bolando's Profile")* on topic *[Code lines showing in data custom fields](/forum/32-content-creation/894331-code-lines-showing-in-data-custom-fields#290767 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.26 -- Browser(s) name and version -- : Chrome 65 -- Error-message(debug-mod must be tuned on) -- : &quot;,disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(0); if(date today) { return true; } return false; }, //  I created 2 data custom fields (showing data like 2018-11-10) in the Order group and after the client fills them and sends the order, some strange data appear there. I attach 2 screenshots. What is worse, the data appears also in the email sent to the client.  I have no modifications.  Please help")*

I have only these fields to choose from:
Text
Link
Text area
WYSIWYG
Radio Button
Checkbox
Single Dropdown
Multiple Dropdown
Simple date picker
Zone
Coupon
File
Image
Ajax File
Ajax Image
Custom text

To which one do you refer?

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

8 years 7 months ago [\#290778](#290778) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Code lines showing in data custom fields](/forum/32-content-creation/894331-code-lines-showing-in-data-custom-fields#290778 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.26 -- Browser(s) name and version -- : Chrome 65 -- Error-message(debug-mod must be tuned on) -- : &quot;,disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(0); if(date today) { return true; } return false; }, //  I created 2 data custom fields (showing data like 2018-11-10) in the Order group and after the client fills them and sends the order, some strange data appear there. I attach 2 screenshots. What is worse, the data appears also in the email sent to the client.  I have no modifications.  Please help")*

Hi,

If you don't have the advanced date picker type, it means that either you deactivated the HikaShop datepicker plugin or uninstalled it. Please check that via the Joomla plugins manager.
That plugin is normally preinstalled and pre activated when you first install HikaShop.

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

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

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