Hi everyone
I am relatively new in survey123 and i am struggling to achieve something if anyone can help.
The concept is very simple.
Based on the answer above i want the ID to start with either TP-(numbers) or BM-(numbers) depending what the feature is. Alphanumerical ID

i am using this calculation but no luck for sometime now.
if(selected(${Feature_Type}, 'Trial Pit', concat('TP', '-', ${Feature_Type}))), concat('BM', '-', ${Feature_Type})
i would really appreciate any help.
Thank you