addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Vaetertag, fete des peres

sitepic_vaetertag.ch.jpg:
Viewable with Any Browser

Members
Join Now
Login

variable timestamp is today when creating a new article

Author:   David Bayly  
Posted: 2007.03.1; 17:53:20 Uhr
Topic: variable timestamp is today when creating a new article
Msg #: 1322 (in response to 1321)
Prev/Next: 1321/1323
Reads: 20319

Gilberto,

Yes, in the form look at the rendering of the variable
dPublicAKTUELL, see the menu Initial? It has values Now, choose that
and you will get an initial value of he date/time the form is
rendered.

At 17:10 +0100 07/03/01, webmaster-zappatini.com wrote:
>Hello,
>
>on www.vaetergewinnen.ch I have a variable timestamp
>"dPublicAKTUELL d". It's the date, when the article is started to be
>published. Up to now, the default date was a date in the future.
>
>When creating a new article, the user has to set manually a date
>instead of the existing default-date. In most of all cases the new
>date is "today". The user would like, that the default-day, written
>in the variable when he creates a new article, is already "today".
>But I don't find a way to do that, neither in the definitions of the
>variable, nor in the definition of the form.
>
>In the definition of the form I could set "Now" - but then it's
>always "Now" and not the special date, the user has set.
>
>Is there a solution to control the default-date?
>

--

- David Bayly. Programmer and digest reader. dbayly at udena dot ch
addedValues examples at http://www.addedValues.org/showcase