I have a hierarchy of forms with a ref data form. I am trying to pre-populate the child of the form based off the parent - is there anyway to do this?
Layout:
Parent
- Ref Data 1 Smart multi-select
- Ref Data 2 Smart multi-select
Child
- Ref Data 1 Smart multi-select [pre-populated by entry.parent.refdata1]
- Ref Data 2 Smart multi-select [pre-populated by entry.parent.refdata2]
Ref Data
- Table 1: 1 Column, Text
- Table 2: 1 Column, Text
PS - would be nice if the pre-population shows up in the form upon selection of the Parent Value, but not 100% required
Hi @Henry Dench
Yes you can just have a https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules#ConfiFormsFieldDefinitionRules-Setvalue rule to set the value of the smart multi-row field (expects an ID)
child1=[entry.parent.refdata1]&child2=[entry.parent.refdata2]
Rule to set on tracking the "parent" field (first parameter in the macro) and with condition to be something like
!parent:[empty]
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.