Forums

show hide custom element

hansklein 07 Oct, 2015
Question:

Is it possible to hide or show the custom element.
I have code in the element to show a picture but can't show or hide the element.
or am I missing something
🙄
GreyHead 07 Oct, 2015
1 Likes
Hi hansklein.

You can add an id to your custom element and use that in the Hide/Show event manager.

Or you can use Custom JavaScript to do the same thing.

Bob
hansklein 07 Oct, 2015
Thanks Bob,
It's working now but is it possible that it can be parent hidden in the beginning.
I don't know wich code i must use for that.

Hans
GreyHead 07 Oct, 2015
Hi Hans,

The simplest way is to use CSS to set display: none;

Bob
Max_admin 10 Oct, 2015
Hi,

You may also put it inside a container and show/hide the container instead.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.