on 11-11-2008 12:10 PM
Hi All,
I have a image ui inside the interactive form, I want to control the visibility of the image depending on the user who login.
For User A, the image should be invisible
For User B, the image should be visible.
i am using the code like this:-
show - initialize
Language - Java script
RunAt:- Client
On image
if(xfa.form.Main_node.userid.value=="A")
{
xfa.form.Main_node.Subform3.ImageField1.presence="invisible";
}
if(xfa.form.Main_node.userid.value=="B")
{
xfa.form.Main_node.Subform3.ImageField1.presence="visible";
}
But there is no change happening, the image is visible in both the times.
i even used
if(xfa.form.Main_node.userid.value="A") and if(xfa.form.Main_node.userid=="A")
How can i control the visibility of UI Elements in Interactive Forms. Can anyone please help me out in this? Is there any PDF related to this?
Regards,
Divya
I resolved my myself...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.