[TYPO3-dev] Flexform date field default -> time()
Jigal van Hemert
jigal at xs4all.nl
Tue Dec 7 14:05:03 CET 2010
Hi,
On 7-12-2010 12:13, Bas van der Togt wrote:
> I have a flexform with a date field.
> Now i want to fill this field with a time() default value.
> Is there a marker available for this?
In flexforms the default value is limited to a static value AFAIK.
Maybe you can solve the problem by using some kind of unlikely "magic"
default value and use a custom form evaluation to replace the "magic"
value with something you want. [1]
Note that the checkbox before a field has a double function:
- if you empty the checkbox the value in the 'checkbox' setting will be
inserted in the input field
- if you check the checkbox the default value will be inserted. For date
(and similar) fields the current date (and/or time) will be inserted
Maybe this default behaviour is enough for you.
[1] http://goo.gl/jB7l5
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-dev
mailing list