Select to view content in your preferred language

Smart Forms: Auto-select from a dropdown of coded domain values

102
2
Jump to solution
Monday
Labels (2)
luckachi
Frequent Contributor

I am wondering if it is possible to have a form field auto-select based on the logged in user. So far I haven't been able to get anything to automatically select an option based on the logged in user - the field just stays blank even though when I run the calculated expression it returns what I need.

Field Type is string

Input type is Combo Box 

Domain list has numbers as the code but its stored as a string

 

 

1 Solution

Accepted Solutions
EmilyGeo
Esri Regular Contributor

Hi @luckachi

 

At this time, fields in forms can either be calculated, or editable. There are some ways to get around it (like this one), and we are working to provide a straight forward option in the future for those who would like to include fields that are both calculated and editable. 

View solution in original post

2 Replies
luckachi
Frequent Contributor

Update - I got something to work but it only works if the field is not editable. Is there a way to make it editable but still use a calculated expression? 

What I am trying to accomplish is selecting a group name based on the logged in user, but in some cases, I wonder if they may do work for another group so the option to change that might be necessary.

0 Kudos
EmilyGeo
Esri Regular Contributor

Hi @luckachi

 

At this time, fields in forms can either be calculated, or editable. There are some ways to get around it (like this one), and we are working to provide a straight forward option in the future for those who would like to include fields that are both calculated and editable.