NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: DonRidley on December 15, 2010, 11:35:26 AM

Title: Validate Entry When Accepted
Post by: DonRidley on December 15, 2010, 11:35:26 AM
NetTalk 4.30 (I know...customer's project)

I need to run some validation code when an entry field is accepted.  For some reason I cannot get the code to fire.  I have checked the "Send new value to server" checkbox on the Client tab.

Basically, I want to check the value entered against existing records to see if that value already exists. 

Thanks,
Don
Title: Re: Validate Entry When Accepted
Post by: kevin plummer on December 15, 2010, 02:05:09 PM
Is it a multi dll project?
Title: Re: Validate Entry When Accepted
Post by: DonRidley on December 15, 2010, 02:12:45 PM
No.
Title: Re: Validate Entry When Accepted
Post by: Bruce on December 16, 2010, 04:49:18 AM
Hi Don,

check the "Auto Validation" setting, on the advanced tab (I think).
If that is set to "no" then try setting that to default.

cheers
Bruce
Title: Re: Validate Entry When Accepted
Post by: DonRidley on December 17, 2010, 07:18:51 AM
No such setting for me.  Is this a feature added after version 4.30?  I cannot find it at all. 
Title: Re: Validate Entry When Accepted
Post by: Bruce on December 17, 2010, 07:28:45 AM
Ah - well,
yes - introduced in 4.31, as was immediate validation.
In other words the feature you're looking for simply doesn't exist in that version.

cheers
Bruce
Title: Re: Validate Entry When Accepted
Post by: DonRidley on December 17, 2010, 11:29:44 AM
Ahhh...thanks Bruce.  Simple fix.  Customer needs to update.