NetTalk Central

Author Topic: c8/nt5.37 Tabbing off field and Validate::????:????  (Read 3084 times)

hilton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
c8/nt5.37 Tabbing off field and Validate::????:????
« on: October 12, 2011, 06:05:10 PM »
Hi folks,

Is there any way that I can get the Validate:: routine to fire when tabbing off a field when the value has not changed.  There are circumstances where there are dependant fields that need to be recalculated when tabbing off one field.  At present, unless I change the original, tab off it, come back and change it back then tab off it, Validate:: does not happen.

Thanks,
Hilton.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: c8/nt5.37 Tabbing off field and Validate::????:????
« Reply #1 on: October 12, 2011, 09:29:49 PM »
Hi Hilton,

the way JavaScript works an onChange event only occurs when the data is changed. To get it every time I'd need to bind to OnBlur as well. I'm not sure if that's trivial for you to add or not.

cheers
Bruce


hilton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: c8/nt5.37 Tabbing off field and Validate::????:????
« Reply #2 on: October 13, 2011, 02:48:40 AM »
Hi Bruce,

I suspected as much and I was hoping there was such a thing as "PROP:touched" in clarion.  As far as I am concerned, my aim is to write this system without having to resort to anything other than standard Nettalk because it seems to me that all of the magic should generally be handled by the main software without a developer having to learn all of the component parts of the web world.  Indeed, that is the value that you provide.

I must congratulate you for a fine and interesting product which is improving all the time.  I am sure that I will end up with a good system based on your product.

If it turns out that you can add the equivalent of "PROP:touched" that would be great!  However, I understand that you have your priorities and that is fine with me. Perhaps you could sneak it on a list of todo's somewhere.

Thank you for your prompt answer.

Bye,
Hilton.