Code lines showing in data custom fields

  • Posts: 91
  • Thank you received: 5
6 years 3 weeks ago #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) -- : ",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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
6 years 3 weeks ago #290704

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 or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 5
6 years 3 weeks ago #290767

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 or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
6 years 2 weeks ago #290778

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum