Hi,
Please note ...I am learning to program in Drupal/PHP....and have tried getting help from posts in the forum....not much luck...
I am exploring the use of the javascript popup calendar (jscalendar) in a custom node module. I am creating a very basic module to test this. Also, I've used the readme file provided by the author of jscalendar for help.
the main functions of the module is listed below.
here's a brief description
I am able to use the pop calendar attached to the field, fromdate to select a date. It is entered in the table, exam as : 2007-07-17 13:28:06.
fieldtype of fromdate in table exam is varchar2(20).
When I view the node, I see the value of fromdate.
When I go to edit the node, the text field fromdate in the form is blank. If I use this popup calendar in a CCK nodetype, the value does appear in the textfield when the node is viewed in edit mode.
I would like the value to appear in the textfield ,fromdate when the node (that is, from my custom module)is viewed in edit mode.
I suspect it is my exam_load that may be the problem....or do I have to use exam_prepare function to set the date display format. I've tried this..not getting it to work...I'm not understanding this properly.
Any ideas on what I am doing incorrectly or not doing at all....or need to do ?