Custom fields - Date issue
12 years 6 months ago #149561
by nibe
Custom fields - Date issue was created by nibe
Hi, There is a bug i noticed on hikashop's latest business edition on Joomla 3.2.3.
I traced it down to the class file, class.field. The problem is related to the custom fields section for input type ="date".
When i try to create a new custom field for the date field, it opens a form where all details such as column name, label e.t.c are required.
However, the default value or the preview of the date input field does not work properly. When you click on the calender icon, the calender pops up. But when you click on a date, it does not automatically populate the field. it just remains unresponsive.
Also for fields which were saved prior to the update of joomla, on editing it displays the following in the value attribute :-
Y-m-d H:i:s",disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(o); if(date < today) { return true; } return false; }, //
Thanks for letting me know.
I traced it down to the class file, class.field. The problem is related to the custom fields section for input type ="date".
When i try to create a new custom field for the date field, it opens a form where all details such as column name, label e.t.c are required.
However, the default value or the preview of the date input field does not work properly. When you click on the calender icon, the calender pops up. But when you click on a date, it does not automatically populate the field. it just remains unresponsive.
Also for fields which were saved prior to the update of joomla, on editing it displays the following in the value attribute :-
Y-m-d H:i:s",disableFunc: function(date) { var today=new Date(); today.setHours(0);today.setMinutes(0);today.setSeconds(0);today.setMilliseconds(o); if(date < today) { return true; } return false; }, //
Thanks for letting me know.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 6 months ago #149581
by Mohamed Thelji
Replied by Mohamed Thelji on topic Custom fields - Date issue
Hello,
I just tested custom fields which have a type set to "Date" and it worked fine, can you give me more information about the issue that you are having and how you configured your custom field through some screenshots for example ?
Thank you.
I just tested custom fields which have a type set to "Date" and it worked fine, can you give me more information about the issue that you are having and how you configured your custom field through some screenshots for example ?
Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.216 seconds