I have an form with a text area field. I want to add some text (a date/time stamp) when the user clicks in to the form. I am assuming I need to catch a click type event when the user clicks in to the field and then edit the field value and insert the text I want. Is this the best approach?
Looking for suggestions based on using Ext JS 4 / MVC.
As mentioned by you – “I need to catch a click type event when the user clicks in to the field” – One way to achieve this and appending of timestamp to the value could be by using the focus event in following manner:
Just that the date used here is the client’s system date.
Hope this helps.