Versions Compared

Key

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


Section


Column
width30%600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




Features used to implement the example



Example: Make certain custom field required in resolve screen only if the resolution was set to "Fixed"

You can do it using Validation based on regular expression. Let's suppose the field you want to make mandatory is a Select List called "Colour". You can compose a parsed text with virtual field "Issue resolution" and custom field "Colour".

Then you validate the value for matching to a regular expression that describes the allowed values or for not matching to a regular expression that describes forbidden values.
In this particular case it's easier to use the second option. This is the configuration screen for our example:


Text to be parsed is:

%{00028}&%{10300}

Fixed&\s*


Once configured, the validator will look like this:



Other examples of that function

Incoming Links
pageCondition and validaton validation based on regular expression
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "custom-field"