Monday, October 1, 2012

Re: dateTime in edit view

http://book.cakephp.org/1.3/en/view/1390/Automagic-Form-Elements

You should really consider to go through this book for 1.3 ...

2012/10/2 Chris <chris69m@yahoo.com>
hi guys,... 
I can't bring back record of dateTime back to my edit.ctp 
what I have is in there: 

(this is from 1.2 pre-Beta version)
<?php echo $this->Form->dateTime('birthday', 'DMY', 'NONE', time(), array('minYear' => 1910, 'maxYear' => (date('Y') - 16)), false) ?> 

how can I do this in 1.3...  ?? 

thanks 

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 



--
Ivan Rimac
tel: +385 95 555 99 66

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: