Hi All,
On my XDP form there are 8 buttons, and xml contains 8 tags for thease 8 buttons with value visible or hidden.
When some button having value hidden I need to hide that button and need to reposition remaining buttons.
Please help on same.
Views
Replies
Total Likes
The buttons can reposition themselves if you place them inside a Subform which is set to be Flowed.
For hiding and displaying, you need to read the XML tag value in the initialize event and set the presence property.
For example..
if(xfa.resolveNode("$record.ButtonValues.Button1").value == " hidden")
Button1.presnece = "hidden";
else
Button1.presence = "visible";
Thanks
Srini
Views
Replies
Total Likes
Thanks Srini,
But Flowed layout not working properly as position of buttons getting changed due to this. and now able to give space between two buttons, Is there any other alternative to reposition buttons.
Views
Replies
Total Likes