Show/hide dynamic fields on an activity dialog depends on a checkbox is clicked/not clicked

Moderator: crythias

Locked
akosarko
Znuny newbie
Posts: 9
Joined: 10 Mar 2016, 15:01
Znuny Version: 5.0.0

Show/hide dynamic fields on an activity dialog depends on a checkbox is clicked/not clicked

Post by akosarko »

Helo!

I got a need from our partner, and I would like to find a solution fot that.
The need is the next:
We have an activity dialog, with some dynamic field(text, checkbox, etc). One of the checkboxes is a DF represents that the new subscriber is a Person or not. If this checkbox is selected, two dynamic field have to appear, one for his/her genre and one is for his/her name prefix(Mrs/Ms/Dr/dr).
If the checkbox is not selected, whe don't need to apper these two DF.
Is there any way to make it on the same activity dialog?

Greetings,
akosarko
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Show/hide dynamic fields on an activity dialog depends on a checkbox is clicked/not clicked

Post by reneeb »

This needs development...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
akosarko
Znuny newbie
Posts: 9
Joined: 10 Mar 2016, 15:01
Znuny Version: 5.0.0

Re: Show/hide dynamic fields on an activity dialog depends on a checkbox is clicked/not clicked

Post by akosarko »

What kind of development?

I tried something like this, but it does not work.:(
http://jeffeske.com/blog/showhide-dynam ... n-queue-2/
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Show/hide dynamic fields on an activity dialog depends on a checkbox is clicked/not clicked

Post by reneeb »

That is the right direction... but I don't know the exact changes needed.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Show/hide dynamic fields on an activity dialog depends on a checkbox is clicked/not clicked

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked