By ceski on
Hi,
I'm creating a form using the FormAPI. I have the form ready but I still have two questions:
1. I have used the #type => 'date' but can I also add the hour and the minutes using the DateAPI ? I looked into date_api_elements.inc but I can figure it out how to do it. Please tell me if I have to create a textfield myself and control the inserted data.
2. The 'insert' part is done but for the 'update' part I have to make a list of all my previous entries. I'm used to work in html but I didn't see a example or some explanation how to do this in Drupal. Any help or link would be welcome.
Thanks a lot for your answers !!
Comments
Customized form
of course I meant :
"I looked into date_api_elements.inc but I CANNOT figure it out how to do it"
I am sure someone out there
I am sure someone out there already got this.
But you can also take a look into this: http://drupal.org/node/169815