Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
metadata:
title: Input validation
short title: Valid
documentation: "https://docassemble.org/docs/fields#input validation"
example start: 1
example end: 3
---
modules:
docassemble.demo.validationfuncstwo
---
mandatory: True
question: |
There were ${ number_of_tires }
tires in the garage.
---
question: |
How many car tires are in the
garage?
fields:
- Tires: number_of_tires
datatype: integer
validate: is_multiple_of_four