Page 1 of 1

Dynamic Rule in Frame Raises Error

PostPosted: 20 Sep 2017 20:44
by mrcarver
CG Gurus,

There appears to be an issue with adding a Validation Rule dynamically in a Frame.

For example:
Adding the following validation during the OnCreate of a frame raises this error
Line 1415 -> Uncaught ReferenceError: Initialize is not defined ( http://127.0.0.1:8888/lX30mVLusuAPT3AoatUtRa/$/ )

Please advise

[code]
with eZip.JQValidateOptions do
begin
Rules.Clear;
Enable:= True;
// REQUIRED
lRule := Rules.Add;
lRule.Rule := jqvorvRequired;
lRule.ErrorMessage := 'Please provide an Oklahoma "ZipCode';
end
/code]

Re: Dynamic Rule in Frame Raises Error

PostPosted: 20 Sep 2017 20:55
by mrcarver
Correction... It appears the issue is related to the use of double quotes in the message.

Can this be fixed?

Thank you
Monte Carver