]> saetta.ns0.it Git - zakform/tests/commitdiff
Tested validator_notempty value.
authorAndrea Zagli <azagli@libero.it>
Mon, 2 May 2016 13:26:27 +0000 (15:26 +0200)
committerAndrea Zagli <azagli@libero.it>
Mon, 2 May 2016 13:26:27 +0000 (15:26 +0200)
data/zakformtests/xml/main.xml

index c9a5b580ae2b56ebdbf89a2cdbe12d224a4a14ad..4ce778dbcbe0867d82b7ef706d6828567c0f6542 100644 (file)
        <name>age</name>
        <type>integer</type>
        <default-value>33</default-value>
+       <format thousands_separator="" decimals="0" />
        <widget>spn_age</widget>
        <label>label4</label>
+       <validator type="zak_form_element_validator_notempty">0</validator>
   </element>
 
   <element type="zak_form_gtk_form_element_check">