CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Dynamic Rule in Frame Raises Error

by mrcarver » 20 Sep 2017 20:44

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]
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by mrcarver » 20 Sep 2017 20:55

Correction... It appears the issue is related to the use of double quotes in the message.

Can this be fixed?

Thank you
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51


Return to JQEdit

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.