Forums

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

How do I concat and substringbefore expression in calculated data field

Caitlin Brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 8, 2025

using on prem confluence, confiform version 3.13.8

I wish to concatenate 2 data fields, the ChallengeTheme field is a dropdown field with value example "1. Collaboration" and second field RiskID is an autonumber field 

 

If RiskID is "31" and Challenge Theme is "1 Collaboration"  I want the concatenated field to populate as 1.31

I have done the following expression:

concat(substringBefore([entry.ChallengeTheme], '.'), '.', [entry.MBDARiskID]) however it is not working and the value shown once record is submitted is .1

 

 

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
May 8, 2025

Hi

Where do you want to concatenate the value? In some formula field or just online, in the view?

  1. CONCAT("[entry.ChallengeTheme].", "[entry.MBDARiskID]")
  2. Right in the ConfiForms Field macro's field name parameter: ChallengeTheme.append(.[entry.MBDARiskID])

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events