Expand my Community achievements bar.

Current Date in the Text Field

Avatar

Level 2
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)
1 Reply

Avatar

Former Community Member
On the exit of the Date field write the javascript code:



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