HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Date format problem: year isn't displayed if first
Hi, I tried to add a date input to the form with the order: year, month, day - national standard. The year doesn't get displayed. If the year is second or third then it displays fine. No year: echo $Sender->Form->Date('date', array('Fields' => array('year','month','day'))); Ok: echo $Sender->Form->Date('date',… -
Re: Date format problem: year isn't displayed if first
-
Re: Date format problem: year isn't displayed if first
-
Re: Date format problem: year isn't displayed if first
For visuals before adding the period before the equal sign in /library/core/form.php line 707 before $Return = $this->DropDown($FieldName . '_Month', $Months, $Attributes); results in image1 - if I use this form statement in a plugin echo $this->Form->Date('date', array('Fields' => array('year','month','day'))); notice it… -
Re: Date format problem: year isn't displayed if first
You are absolutely correct - it won't work - I think there is a bug in the code for /library/core/form.php notice the concatenation is missing in the first switch statement so the loop will always drop the previous results. I haven't confirmed if it saves correctly but it does display the option boxes correctly. But this…
5 results