Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
//lfGlobalMessage("The live field is working!", "INFO");

if (contains(argv["customfield_14824"], "A")) {
    lfShow("customfield_14827");
    lfSet("customfield_14827", "The value of ABC is A");

lfHide("customfield_14828");
lfSet("customfield_14828", "");

lfHide("customfield_14829");
lfSet("customfield_14829", "");

}
else if (contains(argv["customfield_14824"], "B")) {
    lfHide("customfield_14827");
    lfSet("customfield_14827", "");

lfShow("customfield_14828");
lfSet("customfield_14828", "The value of ABC is B");

lfHide("customfield_14829");
lfSet("customfield_14829", "");

}
else if (contains(argv["customfield_14824"], "C")) {
    lfHide("customfield_14827");
    lfSet("customfield_14827", "");

lfHide("customfield_14828");
lfSet("customfield_14828", "");

lfShow("customfield_14829");
lfSet("customfield_14829", "The value of ABC is C");

}
else {
    lfHide("customfield_14827");
    lfSet("customfield_14827", "");

See also