NetTalk Central

Author Topic: Get a vlaue after tab off control  (Read 1225 times)

olu

  • Sr. Member
  • ****
  • Posts: 351
    • View Profile
    • Email
Get a vlaue after tab off control
« on: August 31, 2012, 05:21:52 AM »
Hi all, is there a way to get an entry after a user tabs off the control to check if valid and if not force use to correct mistake?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: Get a vlaue after tab off control
« Reply #1 on: August 31, 2012, 06:52:38 AM »
make sure auto-validation for the form, and field, is on. (it is on by default.)

Then add any validation code you like to the validateValue::fieldname routine.
See the "Validation" example for some code ideas.

cheers
Bruce

olu

  • Sr. Member
  • ****
  • Posts: 351
    • View Profile
    • Email
Re: Get a vlaue after tab off control
« Reply #2 on: August 31, 2012, 07:17:42 AM »
Hi Thanks bruce mind going blank now.