cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing visibility (thru webdynpr) of components inside Interactive form

Former Member
0 Kudos

Hello All,

There are 3 text fields on the interactive form. Depending upon who has opened the form, i need to make the fields visible and editable. Hence this will be done at runtime. Please let me know how i can access the visiblity of text fields on IF via Java webdynpro.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

There you said based on who opend the form condion to applied .

This should be done in the JScript only.

let us suppose ur field is customer

In Java script editor add this code like this.

if(cust=="value") then

{

filed1.presence="hidden"

filed2.presence="hidden"

filed2.presence="hidden"

}

else

{

filed1.presence="Visible"

filed2.presence="Visible"

filed2.presence="Visible"

}

endif

This might helps you.

Thanks,

Lohi.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vibha,

Make 3 attribute in Context and set data type as a visibile, and set this attributes for a visible property for respective inputfields.

Make again three 3 attributes with the boolean datatype and set this attributes for a enable property for respective inputfields.

Accrding to your need set / reset the visibility and enabled property of respective inputfields.

This thing will work on Adobe Interactive Forms.