Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Update a textfield after it has lost focus?

I would like to change the value of a textfield once a user finishes entering information and the field loses focus. How do I do this?

I can only find events for when a field gains focus, not loses.


— asked November 19th 2010 by Pete Halatsis
  • focus

2 Answers

  • Accepted Answer

    Hi Pete

    The event you are looking for is 'blur'.
    It's not particularly intuitive, is it? However, the term is fairly ubiquitous across js and web development.

    Hope this helps :)

    — answered November 19th 2010 by Paul Dowsett
  • Oops, please disregard. I misread the question and I can't delete my post so I will just delete the contents…

    — answered November 19th 2010 by Doug Handy
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.