Issue with validation others

hi there ,,
am trying to replace others with text so i can input any information. please help as it shows errors..
Depression {formtext: name=depression} {formmenu: default=depressed mood; amotivation; anhedonia; insomnia; helpless; hopeless; worthless; sucidial thoughts; others} {if: others + replace("aabbcc", "a", "x")}Yes{endif}

Hey @namgyal_bhutia , welcome to the community.

I would approach that this way:

{formmenu: default=depressed mood; amotivation; anhedonia; insomnia; helpless; hopeless; worthless; sucidial thoughts; others; name=depression}

{if: depression="others"}Additional notes: {formtext: name=other}{endif}

In this case, I named the menu of options "depression" and wrote that if "others" is selected, display a new text field where you can add notes.