Check if the form group is visible

I have a coldfusion flash form. (Unfortunately, there is no time to switch to html / javascript) In the form, I have a form group.

I would like to be able to use actionscript to determine the visibility of a form group.

I used the code:

if (formgroupid.visible == "true") {do it}

However, this does not work. Any ideas on modifying the if statement to make the code work.

+3
source share
1 answer

Is it a visiblestring or a boolean?

Try:

if (formgroupid.visible) {do this}
0
source

Source: https://habr.com/ru/post/1746438/


All Articles