This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - hide form elements as default

newcomer - Wednesday, June 20, 2012 5:24 AM:

Hi all,

I'm trying to hide alot of my form elements(e.g. textboxes, dates, labels, checkboxes etc.) as default... I want to show different "parts/sections" of the form depending on the workflow state.

My problem is to hide the elements as default. First I tried the other way around... I have my form with a js method(onFormPopulate event) to hide all the elements when the form opens. But this was to slow. The user will see the elements before they are hidden and that isnt nice at all.

So I tried to hide the elements via css. At first I used the "field css" from aras to hide the elements. That worked but my JS-show-function don't. It was not possible to show the elements again. Maybe it has something to do how css works, I don't know. Any solutions?

Then I tried it with a css file related to the form. Because Aras uses the div "name" attribute to localize elements, I used css attribute selector's but they couldn even find the elements. I guess that is a ie8 problem... Any solutions, workarounds for my problem?


Yoann Maingon - Wednesday, June 20, 2012 10:08 AM:


For each form item/field you have a "Visible" checkbox in the tab "Field Physical"



newcomer - Wednesday, June 20, 2012 10:29 AM:

haha :)

thanks Yoann!