]> saetta.ns0.it Git - zakform/tests/commitdiff
Test date validator.
authorAndrea Zagli <azagli@libero.it>
Mon, 28 Dec 2015 14:07:57 +0000 (15:07 +0100)
committerAndrea Zagli <azagli@libero.it>
Mon, 28 Dec 2015 14:07:57 +0000 (15:07 +0100)
data/zakformtests/xml/main.xml

index cb29667b5f5870ec0cb3097716b64b2e29fc7114..5f814188e5c8b01a609846e6935703c35e0c4f40 100644 (file)
@@ -63,6 +63,7 @@ and                                    some            tabs
        <format>%d/%m/%Y</format>
        <widget>txt_birthday</widget>
        <label>label11</label>
+       <validator type="zak_form_element_validator_date">%d/%m/%Y</validator>
   </element>
 
   <element type="zak_form_gtk_form_element_radio">