Dear Steve,
thanks for your answer.
In fact my dropdownlist is binded with an SAP table which contains SAP material type and description.
The first solution is not good for me because I don't want to put "hard value" in the adobe form.
I tried your code but it doesn't work. I think I don't do it properly.
More details :
-> in the data view I have the table TT023T - DATA - ( MATKL, WGBEZ)
-> in the hierarchy I have the dropdownlist : form_corp2.sform_corp.MATKL
In the Object tab, Binding, I don't know what I have to put in the default binding and in the link Specify item values.
For the moment I have : $record.TT023T.DATA[*].MATKL in the default binding and
in the dynamic properties :
items : $record.TT023T.DATA[*]
text : WGBEZ
value : MATKL
But with this, I have only the WGBEZ in the dropdownlist value list.
I want to concatenate "MATKL - WGBEZ" in the dropdownlist value list.
The last solution is to have directly from SAP table the concatenation in a field and bind it to the item text but I would like to try with the script.
Thanks
Kind regards
Véronique