NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: oggy on February 09, 2011, 02:00:22 AM
-
As in subject, I have form where automatic dictionary validation is set to off. But, after compiled, when inserting in this form, still got validation error on certain fields...
Using C 7.2 and Nettalk 4.53.
Regards, Ozren.
-
Hi Ozren,
it's the "automatic" part of automatic-validation you're turning off. Not the "validation" part.
Validation rules are applied when the user clicks on Save, before the record is written to disk. If you don't want to do the validation, then remove it from your dictionary. Better yet, prime your fields to default values that are valid.
The "automatic" part validates the field immediately when the user tabs off the field.
Cheers
Bruce
-
Hm, thanks for answer, but... my problem is that I am not the person who can or may alter dictionary.... My head director do not want to commit any unnecessary changes on main dictionary, so, I need to prime any field that is, lets say, created badly on dictionary lever?!?
Regards, Ozren
-
Dangerous stuff, but you can probably do the following:
Search for the following in the source: ! End of "On Insert & Update. After Validating" then omit around it, ie
omit('TheEvilDirector')
! End of "On Insert & Update. After Validating"
! The following fields are not on the form, but need to be checked anyway.
! Automatic Dictionary Validation
<some code here>
! Start of "On Insert & Update : Form ends : before disk write"
! [Priority 5000]
TheEvilDirector
I won't recommend it...
Charl
-
This could work... Omiting the source code ... Thanks, I will inform you about this
-
yeah, I think priming the fields to valid values would be better.
cheers
Bruce