on 05-01-2008 12:42 AM
Hi All
I'm learning to use Adobe Form - FormCalc/Javascript - In some of the examples that I have seen fofar
the codes (FormCalc/Javascript) used a qualified name of an object property for setting value i.e.
In FormCalc:
DateTimeField1.rawValue = num2date(date(), DateFmt(3))
In Javascript:
this.rawValue = xfa.layout.pageCount();
pantsWaist.border.edge.color.value = "255,0,0";
pantsLength.presence = "hidden"
etc..
Could someone please tell me how/where I can get the property list that available for an object ?
(i.e. rawValue, presence, value etc...) I can't see on the Form builder (sorry for such a novice question - but as I said I am very new)
Thanks
Points will be rewarded for any reply -
Hi Liem,
Whenever u press a "." after any oject say $ in FormCalc, or this in Javascript u will find relative properties that u can set at that time for the mentioned object.
try this, place a Text field, select that and go to script editor, select language FormCalc:
write $. and u will find a dropdown that'll show u possible list of properties u can change.
Similarly, if u try this with "this." in JavaScript another dropdown will show u possible list of properties that u can change.
Hope this helps
Regards
Amita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.