Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 how to get the value of a threadfield
Hamster24 Offline
Member
***
Posts: 69
Joined: Sep 2014
Post: #1
how to get the value of a threadfield
i have a list box which have set values
a user selects those and when the thread is published.
The value is changed to its Displayed Output which i entered in the Formatting map list.
But in one location in the post bit i only want to show the original value of the field and not the changed displayed output how can i do that?
i.e. as an eg.
List Box Value
Hello
Hi
Sup
Displayed Out Put
<ahref="hello "> HELLO HOW ARE YU< /a>
<ahref="hello "> Hi HOW ARE YU< /a>
<ahref="hello "> Sup HOW ARE YU< /a>

now every time i use {$GLOBALS['threadfields']['key']} it displays it as <ahref="hello "> HELLO HOW ARE YU< /a> whereas at only one location i want it to display text HELLO which was in the value list.
{$GLOBALS['threadfields']['key']['value']} didn't worked for me
(This post was last modified: 05-06-2015 04:49 PM by Hamster24.)
05-06-2015 04:47 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
how to get the value of a threadfield - Hamster24 - 05-06-2015 04:47 PM

 Standard Tools
Forum Jump: