on 06-05-2009 4:23 PM
Hi,
I am working for PDF Printforms, I want to make one Text field caption and Value dynamically to bold font if second field value = "X", If second field value is not X,then print first field caption and value as Plain.
Please help me.
Thanks
Bhuvana
Hi Bhuvana,
you can use the following javaScript for the initialize event of your textField.
Your form must be generated as dynamic.
setFontWeight(SeconField.rawValue);
function setFontWeight(pValue) {
if (pValue=="X") {
this.font.weight="bold";
this.caption.font.weight="bold";
} else {
this.font.weight="";
this.caption.font.weight="";
}
}
Regards
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.