summaryrefslogtreecommitdiffstats
path: root/protocol.txt
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-10-31 19:44:57 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-10-31 23:04:16 +0200
commit401fb17a2763ab7e6671e53fcd601c600b0a07a8 (patch)
tree44c4b26c65bba60b2ec8b86c11868638e8f66215 /protocol.txt
parent31e261fd9aaf1e882d8df368b5842e4d5b612e62 (diff)
downloadacf2-401fb17a2763ab7e6671e53fcd601c600b0a07a8.tar.bz2
acf2-401fb17a2763ab7e6671e53fcd601c600b0a07a8.tar.xz
model: conditional model fields
Diffstat (limited to 'protocol.txt')
-rw-r--r--protocol.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocol.txt b/protocol.txt
index b3bb3b3..9f94c53 100644
--- a/protocol.txt
+++ b/protocol.txt
@@ -57,6 +57,8 @@ resp: JSON object, with the following attributes:
- widget (name of client-side JS module used to display
the data)
- editable (boolean)
+ - condition: if present, the field is relevant only when
+ other fields are set according to this object
- required (boolean)
- default
- max-length