Child pages
  • Create tag for detecting selected options in field
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/c3d5a70eb261f15c#

Currently we have tag PredefinedOptions, that will allow to print all options from individual field and tell what of them are selected. This is enough in most cases, but recently I came across a slice-up, where I required to print options in two columns. Here I've invented a tag, that will allow to detect if any particular option is selected in multiselect field. For example we name it "Checked" and it will be used like this:

<inp2:m_if check="sample-prefix_Checked" field="SampleField" value="5"> 
option five is checked 
</inp2:m_if>  

Related Tasks

INP-354 - Getting issue details... STATUS

2 Comments

  1. Proposed tag was named "Selected" and available in this discussion:
    http://groups.google.com/group/in-portal-dev/browse_thread/thread/6b45b0fd9ece1751

  2. Here is task from mentioned discussion:

    INP-354 - Getting issue details... STATUS

    .