I have an app that displays the tree inventory of a university. The trees have categorical attributes like species, botanical name, etc and numerical attribues like height, diameter etc. When I use the Edit widget to edit the attributes of a tree, I have to type in the new species name. Instead, I would like to edit the categorical fields using a drop-down box that is populated from an excel file. Also, I would like to validate the numerical fields. Is there a way to do this?
The Edit Widget will look at the type of attribute column you are editing and show the appropriate input control (text box, select dropdown, numerical input box, etc), so you need to look at the FeatureService that is published and make sure that the attribute columns have the correct types.
To get the select "dropdown" workflow specifically, you should use a coded value domain. If you're in ArcGIS Online with a Hosted Feature Service, follow these instructions to add the coded value domain to your Hosted Feature Service attribute column.