Forum > Packages and Libraries
JvValidators for TDateTimePicker
chrv:
Is it possible to check if a TDateTimePicker is null using TJvRequiredFieldValidator ?
devEric69:
For information, in the LCL compatible Jedi framework, TJvValidators is handy, and was created for this: you can create validators items (several TJvCustomValidator items inside a TJvValidators component) in order to validate all types of input values (check the right type, in a good range, ...). Each specialized TJvCustomValidator item can point to an input control (TEdit, TMaskEdit, TJv..., ...\...), obtaining the value to be validated.
chrv:
Hi,
(Back to work)
Thank you for reply.
I don't understand why my options are different from yours in JvValidator item editor (see screenshot)
(Windows 10, Lazarus 2.0.12, FPC 3.2.0)
I downoded JvValidatorsLazr.lpk 1.0.6.0 from Online Package Manager.
Thank you.
chrv:
Quick and dirty solution.
Sure, there a far better ones ...
devEric69:
--- Quote from: chrv on July 12, 2021, 10:13:08 am ---I don't understand why my options are different from yours in JvValidator item editor (see screenshot)
I downoded JvValidatorsLazr.lpk 1.0.6.0 from Online Package Manager.
--- End quote ---
I'm using an older one: lpk v. 1.0.5.0, from Online Package Manager too.
Navigation
[0] Message Index
[#] Next page