1
Hi,
I'm building a form with the elements from the form library. One of the fields in my form is the popup js date. I create an entry with
$form->addElement(new XoopsFormDateTime('Date of Trip', 'Date', $size=15,$value=0,'YYYY-MM-DD'));
When I receive the 'post'ed contents back I try to parse out the date with
$RV0 = '';
$RV0 = isset($HTTP_POST_VARS['Date']) ? trim($HTTP_POST_VARS['Date']) : $RV0;
$RV0 = $RV0['Date'] ;
Unfortunately no matter what I do I cannot pull the data into a field. Addtionally when using this field is there a method of suppressing the time field supplied next to the calendar?
TIA. BA