The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confiforms Parent -> Child Form prepopulation

Henry Dench
June 17, 2024

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

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Henry Dench
June 17, 2024

@Alex Medved _ConfiForms_ thanks in advance :)

 

0 votes
Alex Medved _ConfiForms_
Community Champion
June 17, 2024

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

TAGS
AUG Leaders

Atlassian Community Events