Select to view content in your preferred language

Default value for multiple choice fields not working.

68
3
Jump to solution
8 hours ago
RickSteekelenburg
Occasional Contributor

The new multiple choice field doesn't register a default value even when it was set when adding the field directly to the feature layer instead of the template.

It shows in the form but it doesn't do anything.

0 Kudos
1 Solution

Accepted Solutions
RickSteekelenburg
Occasional Contributor

Nevermind, it's been a long day.
I was editing an existing feature instead of adding a new one and wondering why it didn't show.

Thank you for your time.

View solution in original post

0 Kudos
3 Replies
MErikReedAugusta
MVP Regular Contributor

By chance, do you have subtypes enabled on that feature class?  I haven't worked with the multiple choice fields, yet, but this problem catches me napping every once in a while when I'm doing schema updates on a feature class with subtypes.  I'll set the default value on the Fields view, without remembering that the Subtypes view has a completely separate default value, which is the one that actually matters.

------------------------------
M Reed
"The pessimist may be right oftener than the optimist, but the optimist has more fun, and neither can stop the march of events anyhow." — Lazarus Long, in Time Enough for Love, by Robert A. Heinlein

If this post or another helped you out, please consider giving the post(s) a Kudo or marking them as the Solution. ESRI Staff use both of these features to help keep track of posts on these forums.
0 Kudos
Megan-Hendrick
Esri Contributor

Hi Rick, 

One thing I would check is that the default value you are using matches the code of your multiple choice element. For example: If I wanted a default value of Steel Toes Boots and Safety Vest to be reflected in this multiple choice element (see screenshot below), I would set the default value to "boots,vest". Note that you need the comma delimiter (without a space), to match the case sensitivity, and to match the code not the label. 

MeganHendrick_0-1786387479595.png

Let me know if you are still having issues!

0 Kudos
RickSteekelenburg
Occasional Contributor

Nevermind, it's been a long day.
I was editing an existing feature instead of adding a new one and wondering why it didn't show.

Thank you for your time.

0 Kudos