Is it possible to use hash variables to do table lookup using a field other than ID?
For example I have a table "fruit" like this
ID fruit price
1 apple 100
2 orange 50
#form.fruit.price[{form.table.field}]#
Normally form.table.field should resolve to the ID of table fruit to get the price. However in my situation I cannot use the ID. How can I access the price by using the fruit column using hash variable?
Is it possible to use hash variables to do table lookup using a field other than ID?
For example I have a table "fruit" like this
ID fruit price
1 apple 100
2 orange 50
#form.fruit.price[{form.table.field}]#
Normally form.table.field should resolve to the ID of table fruit to get the price. However in my situation I cannot use the ID. How can I access the price by using the fruit column using hash variable?