[Standards] Partial data forms
mwild1 at gmail.com
Tue Jul 24 13:39:01 UTC 2012
What is the consensus on how to handle missing fields from a submitted
data form? E.g. in the context of MUC configuration.
I see three options:
1) Reject the form
2) Keep the current value for missing fields
3) Use the default value for missing fields
I think #1 is only necessary if the field was marked 'required' -
otherwise 'required' makes little sense.
I think #2 makes the most sense, at least for MUC configuration. You
might want to change just one option without affecting others, which
is particularly true for automated use-cases (clients that hide config
behind a non-dataform UI, bots, etc.).
I think #3 may be the most likely option to be inferred by XEP-0004.
It's unfortunate that it gives the option for fields to be "required",
but doesn't actually say that you can not submit fields. It also
speaks of the default value as something more for UI purposes than
How do other people handle this?
More information about the Standards