Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to write Lost Focus event for DataSourceTextField in smartgwt

    Hi,
    I have a DataSourceTextField or TextItem. I am going to do email validation for the text field. I am using Regular Expression for validationg email id. After i entered the email id in the DataSourceTextField/TextItem, When i move to next field, the email validation has to be done. For that, I have to use Lost focus event for the DataSourceTextField or TextItem. How to do that? Please help me?

    Thanks,
    Nobel.
    Last edited by nobel; 28 Apr 2011, 02:36.

    #2
    If you use a standard regex validator, set validateOnExit=true on the textItem.

    Comment


      #3
      Hi,
      I got it. its working fine.
      thank u.

      Comment

      Working...
      X