Letractively / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Add the ability to require mandatory fields for an editing layer through the OLIVER WFSTFeatureEditing dialog interface #116

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is Enhancement 3 in Task Order 4

When adding or editing a feature it can be useful to require the user to fill 
out certain attribute fields.  Regardless of whether the back end table is 
constrained we would like to be able to configure an editable layer in OLIVER 
to have one or more fields be deemed mandatory.  The user should be alerted to 
this condition somehow (either a red asterisk for required or a green asterisk 
for optional).

Configuration Parameters:
1.  The editable layer name
2.  A list of required fields for the layer from #1

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 23 Jan 2012 at 2:15

GoogleCodeExporter commented 8 years ago
Implemented using fields option - allowBlank
ex:
fields : [
  name: "ORGCODE",
  allowBlank: false
]

Original comment by maric423@gmail.com on 1 Feb 2012 at 9:06

GoogleCodeExporter commented 8 years ago

Original comment by Aleda.Fr...@state.ma.us on 3 Feb 2012 at 2:13