From 401fb17a2763ab7e6671e53fcd601c600b0a07a8 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Thu, 31 Oct 2013 19:44:57 +0200 Subject: model: conditional model fields --- protocol.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocol.txt') 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 -- cgit v1.2.3