1
BadAngler
Simple XoopsFormDateTime question
  • 2006/12/26 4:23

  • BadAngler

  • Just popping in

  • Posts: 36

  • Since: 2006/11/28


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

Login

Who's Online

166 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits