Dear all,

How can we write these placeholders in getitemtext() ?

I have 13 different language options so the first part starts like this:

```
for ($i=1; $i<=13;$i++) {if (value(id('LS01', $i)) == 2) {replace('%AbilityLanguage1%'.$i.'%', getItemtext('LS01', $i));}}
```

but I there is sth missing here and system gives error:/

```
if (value('LS01_01') == 2) { $language = value('LS02_01'); if ($language == 1) { replace('%AbilityLanguage1%', 'Türkçe'); } } if (value('LS01_02') == 2) { $language = value('LS02_02'); if ($language == 1) { replace('%AbilityLanguage1%', 'İngilizce'); } }
```

This is my original coding and I want to write my questionnaire with getitemtext() by myself ?

Where can I find info about it? What is the logic behind this?

Thanks for your help,