<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://wikibase.nl/Special:URIResolver/'>
	<!ENTITY category 'http://wikibase.nl/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://wikibase.nl/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://open-csp.org/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://open-csp.org/Special:ExportRDF/DevOps-3ADoc/FlexForm/1.0/ShowOnSelect">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-04-30T06:56:56+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://wikibase.nl/Special:URIResolver/DevOps-3ADoc/FlexForm/1.0/ShowOnSelect">
		<rdfs:label>ShowOnSelect</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://open-csp.org/Special:ExportRDF/DevOps-3ADoc/FlexForm/1.0/ShowOnSelect"/>
		<swivt:page rdf:resource="https://open-csp.org/DevOps-3ADoc/FlexForm/1.0/ShowOnSelect"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">50000</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">en</swivt:wikiPageContentLanguage>
		<property:Class rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc</property:Class>
		<property:Doc_sort_order rdf:datatype="http://www.w3.org/2001/XMLSchema#double">225</property:Doc_sort_order>
		<property:Doc_subject rdf:resource="&wiki;DevOps-3ADoc/FlexForm"/>
		<property:Doc_synopsis rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Show or hide elements based on a form input change</property:Doc_synopsis>
		<property:Doc_target_group rdf:datatype="http://www.w3.org/2001/XMLSchema#string">User</property:Doc_target_group>
		<property:Doc_title_with_versions rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ShowOnSelect (1.0,1.1)</property:Doc_title_with_versions>
		<property:Subject_version rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1.0</property:Subject_version>
		<property:Subject_version rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1.1</property:Subject_version>
		<property:Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ShowOnSelect</property:Title>
		<property:Has_query rdf:resource="&wiki;DevOps-3ADoc/FlexForm/1.0/ShowOnSelect-23_QUERY54118ff6f2b2b6575f8e08c4e98a567c"/>
		<swivt:wikiPageCreationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2022-02-15T18:41:18Z</swivt:wikiPageCreationDate>
		<property:Creation_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2459626.2786806</property:Creation_date-23aux>
		<property:Display_title_of rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ShowOnSelect</property:Display_title_of>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-07-15T08:59:48Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2460871.8748611</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc/FlexForm/1.0/ShowOnSelect</swivt:wikiPageSortKey>
		<property:Page_creator rdf:resource="&wiki;User-3AAdmin"/>
		<property:Page_author rdf:resource="&wiki;User-3AAdmin"/>
		<property:Page_author rdf:resource="&wiki;User-3ALiselot_Roelen"/>
		<property:Page_author rdf:resource="&wiki;User-3ACharlot"/>
		<property:Page_author rdf:resource="&wiki;User-3AE00a555c-2D1e5d-2D4eb3-2Db26b-2D5be8dc16c657"/>
		<property:Page_author rdf:resource="&wiki;User-3ASlot_migration"/>
		<property:Page_author rdf:resource="&wiki;User-3A944f869b-2D8467-2D464e-2D95c7-2D903362952755"/>
		<property:Page_author rdf:resource="&wiki;User-3A81d56153-2D9868-2D4094-2D90a0-2Ddf1700ff7090"/>
		<property:Page_ID rdf:datatype="http://www.w3.org/2001/XMLSchema#double">77</property:Page_ID>
		<property:External_links rdf:datatype="http://www.w3.org/2001/XMLSchema#string">https://wikibase-solutions.com/developer-logs/flexform-show-on-select?WSLanguage=en</property:External_links>
		<property:Image_alt_texts rdf:datatype="http://www.w3.org/2001/XMLSchema#string">FORM CANNOT BE RENDERED, NOT VALIDATED</property:Image_alt_texts>
		<property:Parsed_text rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Name 
 showonselect
 
 Type 
 _form
 
 Synopsis 
 Show or hide elements based on a form input change
 
 Description 
 This allows to show elements in a form based on a selection option, a checkbox status or radio button status.
 You can create a complete form with certain form elements hidden based on a selection in the form done by a user.
 
 Parameters 
  show-on-select on the _form tag 
 For it all to work you must let FlexForm know you want to use Show On Select by adding a parameter to the _form tag. See example 1 .
 
 
  show-on-select on a select field 
 The actual show-on-select attribute is added to an option field within a select field.
The value of show-on-select will be used to show a show-on-select-trigger with the same name. See example 2 .
 This will show an additional text input field with the name texttest1 when you select option 1 and texttest2 will be hidden. When option 2 is chosen, then texttest2 will be shown and texttest1 hidden.
 
 
  show-on-checked on a radio button 
  Example 3 shows you can also add a show-on-select-trigger to something different than a FlexForm _input field.
The example will hide the div with the trigger until the radio button is checked.
 
 
  show-on-checked on a checkbox and show-on-unchecked on a checkbox 
  Example 4 shows an example of how to use show-on-checked for a checkbox field.
Checkboxes can have an additional option called show-on-unchecked. So, in the example, if a checkbox is unchecked it will show test B and hide test A. If the checkbox is checked it wish show test A and hide test B
  Example 5 shows an example of how to use show-on-select when a certain value is equalled.
You can use this on e.g. an input field of type text. When a certain text is entered and it equals a predefined value it will trigger the show on select
  Example 6 shows an example of how to use show-on-select when a certain value is found.
You can use this on e.g. an input field of type text. When a certain text is entered and it contains a predefined value it will trigger the show on select
  Example 7 shows an example of how to use show-on-select when one or two conditions need to be selected before show-on-select is triggered. ( OR Trigger )
The example will show a div when a value is selected in a selectbox OR a checkbox has been checked
  Example 8 shows an example of how to use show-on-select when two conditions need to be selected before show-on-select is triggered. ( AND Trigger )
The example will show a div when a value is selected in a selectbox AND a radio button has been selected
 
 Example 
 Example 1 : Show or hide elements based on a form input change
 
   &lt; _form  action = "addToWiki"  show-on-select = "show-on-select" &gt; 
 &lt;/ _form &gt; 
 
 
 Example 2 : show-on-select on a select field
 
   &lt; _form  action = "addToWiki"  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _select  name = "selectme"  id = "selectme"  &gt; 
		 &lt; _input  type = "option"  for = "selectme"  show-on-select = "testingId2"  selected = "selected"  value = "1" &gt; 1 &lt;/ _input &gt; 
		 &lt; _input  type = "option"  for = "selectme"  show-on-select = "testingId"  value = "2" &gt; 2 &lt;/ _input &gt; 
		 &lt; _input  type = "option"  for = "selectme"  show-on-select = "testingId3"  value = "3" &gt; 3 &lt;/ _input &gt; 
	 &lt;/ _select &gt; 
	 &lt; _input  type = "text"  show-on-select-trigger = "testingId"  name = "texttest1"  value = "2"  /&gt; 
	 &lt; _input  type = "text"  show-on-select-trigger = "testingId2"  name = "texttest2"  value = "1"  /&gt; 
 &lt;/ _form &gt; 
 
 
 
 
 Example 3 : show-on-checked on a radio button
 
   &lt; _form  action = "addToWiki"  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _input  type = "radio"  show-on-checked = "tester" /&gt; 
	 &lt; div  show-on-select-trigger = "tester" &gt; 
		test checked
	 &lt;/ div &gt; 
 &lt;/ _form &gt; 
 
 
 
 
 Example 4 : show-on-checked on a checkbox and show-on-unchecked on a checkbox.
 
   &lt; _form  action = "addToWiki"  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _input  type = "checkbox"  show-on-checked = "test A"  show-on-unchecked = "test B"  /&gt; 
	 &lt; div  show-on-select-trigger = "test A" &gt; test checked &lt;/ div &gt; 
	 &lt; div  show-on-select-trigger = "test B" &gt; test unchecked &lt;/ div &gt; 
 &lt;/ _form &gt; 
 
 
 
 
 Example 5 : show-on-select when a user input equals a predefined value
 
   &lt; _form  action = "addToWiki"  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _input  type = "text"  show-on-select = "testingId"  name = "test"  /&gt; The predefined value is "testingValue"
	 &lt; div  show-on-select-trigger = "testingId"  show-on-select-type = "equals::testingValue"  restrictions = "lifted"  &gt; 
		 &lt; span &gt; Show this when the input value is equal to the text: testingValue &lt;/ span &gt; 
	 &lt;/ div &gt; 
 &lt;/ _form &gt; 
 
 
 
 
 Example 6 : show-on-select when a user input contains a predefined value
 
   &lt; _form  action = "addToWiki"  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _input  type = "text"  show-on-select = "testingId"  name = "test"  /&gt; The predefined value is "testingValue"
	 &lt; div  show-on-select-trigger = "testingId"  show-on-select-type = "contains::testingValue" &gt; 
		 &lt; span &gt; Show this when the input value is equal to the text: testingValue &lt;/ span &gt; 
	 &lt;/ div &gt; 
 &lt;/ _form &gt; 
 
 
 
 
 Example 7 : The example will show a div when 2 is selected in the select box OR the checkbox has been checked
 
   &lt; _form  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _select  name = "selectme"  id = "selectme"  &gt; 
		 &lt; _input  type = "option"  for = "selectme"  show-on-select = "testingId2"  selected = "selected"  value = "1" &gt; 1 &lt;/ _input &gt; 
		 &lt; _input  type = "option"  for = "selectme"  show-on-select = "testingId"  value = "2" &gt; 2 &lt;/ _input &gt; 
		 &lt; _input  type = "option"  for = "selectme"  show-on-select = "testingId3"  value = "3" &gt; 3 &lt;/ _input &gt; 
	 &lt;/ _select &gt; 
	 &lt; _input  type = "checkbox"  show-on-checked = "test A"  /&gt; 

	 &lt; div  show-on-select-trigger = "testingId||test A" &gt; 
		This will be shown if one of the conditions is true
	 &lt;/ div &gt; 
 &lt;/ _form &gt; 
 
 
 
 
 Example 8 : The example will show a div when 2 is selected in the select box AND the radiobutton is selected
 
   &lt; _form  show-on-select = "show-on-select"  restrictions = "lifted"  &gt; 
	 &lt; _select  name = "selectme"  id = "selectme2"  &gt; 
		 &lt; _input  type = "option"  for = "selectme2"  show-on-select = "testingId2"  selected = "selected"  value = "1" &gt; 1 &lt;/ _input &gt; 
		 &lt; _input  type = "option"  for = "selectme2"  show-on-select = "testingId"  value = "2" &gt; 2 &lt;/ _input &gt; 
		 &lt; _input  type = "option"  for = "selectme2"  show-on-select = "testingId3"  value = "3" &gt; 3 &lt;/ _input &gt; 
	 &lt;/ _select &gt; 
	 &lt; _input  type = "radio"  show-on-checked = "test A"  /&gt; 

	 &lt; div  show-on-select-trigger = "testingId&amp;&amp;test A" &gt; 
		This will be shown if both conditions are true
	 &lt;/ div &gt; 
 &lt;/ _form &gt; 
 
  
 
 
 		 1 
		 2 
		 3 
 
	 

	 
		This will be shown if both conditions are true
	  

 
 Note 
 Form fields that are in a hidden section will not be submitted together with the form! 
 Currently if the AND or OR triggers are wrongly defined, no form will be rendered. It's on the list to be fixed. 
 There is one notable difference between the way FlexForm and Page Forms let you tie multiple selectors to the same selectable area, aside from differences in their choice of attributes. Where PageForms insists that each selectable area has a unique ID and lets you connect it to one or multiple selectors, FlexForm lets you assign one or multiple identifiers ( show-on-select-trigger ) to each selectable area while insisting that the show-on-select attributes are unique to individual selectors. 
 Links 
 Tutorial on show-on-select : https://wikibase-solutions.com/developer-logs/flexform-show-on-select?WSLanguage=en</property:Parsed_text>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://wikibase.nl/Special:URIResolver/DevOps-3ADoc/FlexForm/1.0/ShowOnSelect-23_QUERY54118ff6f2b2b6575f8e08c4e98a567c">
		<swivt:masterPage rdf:resource="&wiki;DevOps-3ADoc/FlexForm/1.0/ShowOnSelect"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">50000</swivt:wikiNamespace>
		<property:Query_depth rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Query_depth>
		<property:Query_format rdf:datatype="http://www.w3.org/2001/XMLSchema#string">plainlist</property:Query_format>
		<property:Query_size rdf:datatype="http://www.w3.org/2001/XMLSchema#double">1</property:Query_size>
		<property:Query_string rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[:DevOps:Doc/FlexForm/1.0/ShowOnSelect]]</property:Query_string>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc/FlexForm/1.0/ShowOnSelect# QUERY54118ff6f2b2b6575f8e08c4e98a567c</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AClass" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_sort_order" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_subject" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_synopsis" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_target_group" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_title_with_versions" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ASubject_version" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ATitle" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AHas_query" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageCreationDate" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ACreation_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADisplay_title_of" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3APage_creator" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3APage_author" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3APage_ID" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AExternal_links" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AImage_alt_texts" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AParsed_text" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#masterPage" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_depth" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_format" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_size" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_string" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>