take selected value of a combo box

Anyone can help me. I need to take the value selected in a combo generated with the lookup of a field.
Thanks

Hi,
You can use the field name to get the value,

$value={yourfieldname};

[QUOTE=hirambq;17746]Hi,
You can use the field name to get the value,

$value={yourfieldname};[/QUOTE]

But the command $ value = {yourfieldname}; just shows me the id of the selected combo and not eg apple.

Hi LGMR31, then you need to make SQL query to get that string, using the sc_lookup macro you can achieve it.