doc error for html_select_date, html_select_time ?
| From: | Jeff Dickens | Date: | Tue, 03 Dec 2002 21:19:16 +0000 |
| Subject: | doc error for html_select_date, html_select_time ? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6624@lists.php.net to get a copy of this message | ||
I guess I'll report this if confirmed.
The doc for html_select_date says the field_array parameter will write the
select tags so that the data will be returned to PHP in the form of
name[Day], name[Month], name[Year]. Same for html_select_time.
Well, the actual behavior seems to be that the keys to the array are
name[Date_Day], name[Date_Month]... and for html_select_time
name[Time_Hour], name[Time_Minute], etc.
This is actually convenient, because you can have the date and time selected
returned in the same array. But the doc should be updated to reflect the
actual behavior.
Anyone have a differing opinion ?