Current Date in the Text Field

Avatar

Avatar

_Ajay_Yada_

Avatar

_Ajay_Yada_

_Ajay_Yada_

03-02-2009

Hi,



I have got a requirement where i have one text field and one data/time field. Once we select the date from the date field, the date selected in the date field should be reflected in text field in the format DD.MM.YY along with some other text.



for example,



if we select date as 03/02/2009 - Date Field, we should get it as



Today is (date with format DD.MM.YY)

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

09-02-2009

On the exit of the Date field write the javascript code:



TextField.rawValue = "Today is " + this.rawValue