on 03-01-2011 1:18 PM
Hello All,
I am new to adobe interactive form. I have created one test form where below is the DATA VIEW of the form.
Root YTCS243796_01
->CARRID
->CONNID
--> So on
I am using the WDABAP where I am setting the value of CARRID and CONNID as "AA" and "0017".
I have written the javascript to read the value of CARRID . If i write below javascript code then value is getting read
if ($record.CARRID.value == "AA") { this.presence = "invisible";}
but if I write below code then value of CARRDID is got getting read.
if (xfa.datasets.data.YTCS243796_01.CARRID.value == "AA") { this.presence = "invisible";}
can anybody tell me what am i missing in second javascript code?
Regards,
SVS
Hi,
Goto the initialize event of field CARRID and try the javascript below.
if (this.rawValue == "AA"){
this.presence = "invisible";
}
You can try the following path as well.
xfa.form.mainNode.mainForm.subform.field.rawValue
Thanks & Regards,
Sanoosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the following option.
xfa.record.YTCS243796_01.CARRID.value
Thanks,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.