Can you have a Default value preset but allow to be overwritten?
I use a heap of sub forms for site inspections, and within those there can be up to 10 questions per sub form with multiple options available via a drop down list.
What code would I need and where do I enter it so that all the questions within that subform are defaulted to a specific value from that option list but still able to be changed via the user and that new option override the default?
-
Hi Sarah,
Thank you for reaching out. Let's say you have the data column name for a question as "question_1", then to default a value for that question, you need to put "question_1=0" (minus quotes, 0 stands for the first option, 1 for the second option, and so on) in the Dynamic Value section of that question. Please let me know if that doesn't work for you.
Penny
-
This works for that specific element, but the following linked elements don’t get that info that is auto populated when the option is actually selected if used on the iForm.
For example if option 1 (No issue Identified) is selected, the Severity Level element and Corrective Action element (both read only fields) get auto filled based off another sub form/database answers that equal to that option.
Both other elements already have existing Dynamic Values applied eg severity_database_1.severity_level
Please sign in to leave a comment.
Comments
4 comments