Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Confiforms: output field result appearing twice

Hi everyone,

I've created a Confiforms form where with 4 user-selected fields (from field type "Checkbox Group") , an answer is generated using a textarea field that is hereinafter titled 'Response'.

I used "Confiforms Rules for Field Definition" to create combinations of these fields like:

Field name (or regular expression): field 1,field 2, field 3, field 4

Condition: field 1:a AND field2:* AND field3:a AND field 4:a

Action to execute: Set value

Values to set:  Response=The weather is good



There are multiple combinations specified through multiple 'Confiforms rules for field definition' macros, and I had hoped that a user would be able to access multiple answers through multiple combinations (fields 1 to 4 are checkbox group type). The problem that I am facing is that my Response field prints out the answer twice for each combination . When i try out the combinations individually, they work fine, but when i try to use the checkboxes to input more than one combination, the correct responses appear in my Response field twice in this order:



User Selection:


Field 1: a and b 

Field 2:a

Field 3:a

Field 4:a


Response:The weather is good.It is going to be sunny.The weather is good. It is going to be sunny. 

(First combination aaaa is supposed to have the response of 'the weather is good', and second combination baaa is supposed to have the response of 'it is going to be sunny'). 


Would anyone here be able to help? 

1 answer


This works as designed. You are setting multiple rules really, as you have a set of fields: field 1,field 2, field 3, field 4

Which means that you have at least 4 rules, with the same condition. If you dont set the rules to be executed only on user action then all rules are processed and when they match you see that the values for the field you are setting are concatenated. As ConfiForms finds multiple instructions to set the same field, with "some value". 

So, it concatenates the values and sets them all


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events