- Posts: 6
- Thank you received: 0
Problem with Date field type
- framos
- Topic Author
- Offline
- New Member
Less
More
4 years 8 months ago - 4 years 8 months ago #133149
by framos
Problem with Date field type was created by framos
Hi,
I have observed that when I use a new date type field, the generated code has an error.
I have created a new field and the result is:
I have updated to the latest version and tried with a new installation, but I still have the same problem.
Some help?
Apparently, the field created collects the information and it works ok, the problem is in the generated code and class label.
Regards.
I have observed that when I use a new date type field, the generated code has an error.
I have created a new field and the result is:
Code:
<input type="text" id="test_date" name="test_date" value="" class="class=" jd_width_100_percentage="" "="" placeholder="Test date" data-alt-value="0000-00-00 00:00:00" autocomplete="off">
I have updated to the latest version and tried with a new installation, but I still have the same problem.
Some help?
Apparently, the field created collects the information and it works ok, the problem is in the generated code and class label.
Regards.
Last edit: 4 years 8 months ago by framos.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
4 years 8 months ago #133150
by Mr. Dam
Replied by Mr. Dam on topic Problem with Date field type
Hi,
To solve the issue, please following below steps
1. Open file: root -> administrator -> components -> com_jdonation -> libraries -> osf -> form -> field -> date.php
2. Find:
and replace by
Thanks
Dam
To solve the issue, please following below steps
1. Open file: root -> administrator -> components -> com_jdonation -> libraries -> osf -> form -> field -> date.php
2. Find:
Code:
$temp = array('class' => 'class="jd_width_100_percentage '.$campaignClass, 'placeholder'=> $field->title);
and replace by
Code:
$temp = array('class' => 'jd_width_100_percentage '.$campaignClass.'', 'placeholder'=> $field->title);
Thanks
Dam
Please Log in or Create an account to join the conversation.
- framos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
4 years 8 months ago - 4 years 8 months ago #133153
by framos
Replied by framos on topic Problem with Date field type
Hi Mr Dam,
Thanks for the info. i have tested some options and the problem only occurs with simple donation layout, no with default layout.
Regads.
Thanks for the info. i have tested some options and the problem only occurs with simple donation layout, no with default layout.
Regads.
Last edit: 4 years 8 months ago by framos.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
4 years 8 months ago #133161
by Mr. Dam
Replied by Mr. Dam on topic Problem with Date field type
Yes, the solution i sent you yesterday is for Simple layout
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.