Hi
I was wondering if anyone ever did something to build dependent freetext fields?
I am looking for a way to make freetext fields dependent on choices - and having the data of the freetext fields in an xml would be a nice way to handle that
Say I enable freetext field 1 and 2 - naming them "choice_1" and "choice_2"
Let's say "choice_1" holds the values "A, B, C" and "choice_2" holds the values "XX, YY, ZZ"
Then I need some pointers as to how I can handle the following:
Selecting "A" in freetext field "choice_1" displays the values "XX" and "YY"
Selecting "B" in freetext field "choice_1" displays the values "YY" and "ZZ"
Selecting "C" in freetext field "choice_1" displays the value "ZZ"
and so on....
Anyone?
--- Erwing
Override freetext fields with XML file?
Moderator: crythias
Override freetext fields with XML file?
OTRS 3.2.2 on CentOS - mySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Override freetext fields with XML file?
XML does not hold logic -- only data.
You may want to take a look at http://www.javascriptkit.com/javatutors ... tent.shtml and change a dtl to include it.
You may want to take a look at http://www.javascriptkit.com/javatutors ... tent.shtml and change a dtl to include it.
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
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