Hidden element can't be made to show

jimkeane

Member
Hello all,

Not sure if it is just my install (Joomla 3.4.1 / Fabrik 3.3.2 - vanilla no GitHub) but if I set an element or group to hidden it won't then show even when polled to do so via JS conditions.

If I include JS conditions to hide the element onload it works, provided the element/group itself is not set to hidden.
hidden_error.png


Annoyingly the element/group is seen briefly on load unless it is hidden, but if you do set it to hidden it remains so ignoring the JS!

This seems odd, is there a fix? :)
 
Setting an element or group to "hidden" in it's settings is a "sticky" thing.

If you want to be able to control visibility with the JS, reverse the login in your "on load" event. Don't hide the element / group in settings, instead test to see if you need to hide it on load in the JS.

-- hugh
 
Many Thanks Hugh, this does work, but the items hidden on load are still visible briefly immediately after loading. Is there a fix for this?

Best wishes,

Jim
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top