]> saetta.ns0.it Git - zakform/tests/commitdiff
Added test for visible property.
authorAndrea Zagli <azagli@libero.it>
Wed, 9 Aug 2017 14:07:31 +0000 (16:07 +0200)
committerAndrea Zagli <azagli@libero.it>
Wed, 9 Aug 2017 14:07:31 +0000 (16:07 +0200)
data/zakformtests/xml/cgi.xml

index 241d54ce867a096640d98ca25f3894b1a5bcdc23..1bdc38a47ce893ece7381210a18d0c15c4f80ba2 100644 (file)
@@ -137,6 +137,23 @@ and                                         some            tabs
        </element>
   </element>
 
+  <element type="zak_form_cgi_form_element_string">
+       <id>a_string</id>
+       <type>string</type>
+       <to-load>FALSE</to-load>
+       <to-save>FALSE</to-save>
+       <string>This is a string</string>
+  </element>
+
+  <element type="zak_form_cgi_form_element_string">
+       <id>a_string_not_visible</id>
+       <type>string</type>
+       <to-load>FALSE</to-load>
+       <to-save>FALSE</to-save>
+       <visible>FALSE</visible>
+       <string>This is a string not visible</string>
+  </element>
+
   <element type="zak_form_cgi_form_element_submit">
        <id>submit</id>
        <to-load>FALSE</to-load>