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
|
 |
 |
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.
|
|
|
 |
|