CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Dynamic Validate Entry

Print topic Send  topic

Author Message
Animetal

Posts: 27
Posted: 07/30/2007, 8:54 AM

Hi,

Right now i have this validation in a textbox:

(Client Event)
On Load
Validate Entry
Required True
Min Lenght: 1
Max Lenght: 6
Input Mask: 0.0

I have a range of mask in my database based in some get params and i can get them by CDDLookUp but i cant find a way to make the Input Mask get these values, in other words in the HTML javascript generated by codecharge in the line " this.ccsInputMask = 0.0 " I need the 0.0 as a variable

Thanks in Advance
View profile  Send private message
Benjamin Krajmalnik
Posted: 08/03/2007, 11:35 AM

You can modify the generated javascript and place a label instead of the
hardcoded value.
In the beforeshow of the label, you can set the mask value.

Technically, you could copy the generated Javascript, replace the entire
code section with a label, and in its beforeshow event generate the
modified javascript in one shot.

I use this extensively to generate conditional javascript.


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.