I want to set up default values for a few questions in a form that is in an advanced module. I'm "manually" loading case properties by loading case properties into hidden values in the form. But when I try to set those hidden values as default values I get an error message that says I'm referencing a node in the form. Is there a way to set up default values without triggering this error?
In CommCare, can you create default values in advanced modules
commcare
Related Topic
- Can you create a child case of a child case in a normal module in CommCare
- CommCare – Configure Case List to Autoselect Child Case in Advanced Modules
- Can a mobile user update a location’s (custom) fields
- How to reference the user_id in a CommCare form
- In CommCare can the question labels in the data export to be set to a non default-language
- How to trigger CommCare to create user cases
- Default values for a checkbox question
- Can you create child cases from a repeat group in advanced modules in CommCare
Best Answer
Default Values can not refer to other questions in the form. If you want to set the Default Value of a question to a case property you need to load the case property directly into the Default Value instead of via a Hidden Value question.
There is no difference here between normal modules and advanced modules.