Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Problems when I hidden the borders in master page.(With example of problem in attachment)

Avatar

Former Community Member
Hello,



I have a form with one field in the master page and other field in the body page.



When I hidden the field of the body page all it's ok.

When I hidden the borders of the field in the master pages all it's ok.

When I hidden the field of the body page and after I hidden the borders of the master page, the field of the body page has been hidden ok but the borders of the field of master page doesn't hidden.



This is the code



//1) hidden the field of the body page

xfa.form.Formulario1.Content.text2.presence = "hidden";

//2) hidden the border of the field of the master page

var i;

for (i=0;i<4;i++)

xfa.form.Formulario1.pageSet.page1.text1.ui.textEdit.border.getElement("edge",i).presence = "hidden";



You can test with this example: http://www.hostingassociation.biz/tmp/examples/example_of_problem.zip



Thanks a lot



----------------------------------

Hosting Association

The low cost quality hosting

http://www.hostingassociation.biz

----------------------------------
0 Replies