2008-12-22, 07:31 PM
Hi,
Is there a way to get access to the index number of a selected value in a select box?
To explain: in a select box you have, for example, 4 choices - 'Not Selected', 'Yes', 'No', 'Dont know'. When a User selects one (or left it without selecting - so that the 'Not Selected' is the "selected" value), the selected choice has a corresponding index number - 'Not Selected' is, usually, zero(0), 'Yes' is, usually, one(1) and so on.
Can I get/use this index number insted of the actual aelected value (by using: {post$['fig1']}, for example).
Because my forum is in Hebrew, I can't load images based on the Hebrew selection.
Ori...
Is there a way to get access to the index number of a selected value in a select box?
To explain: in a select box you have, for example, 4 choices - 'Not Selected', 'Yes', 'No', 'Dont know'. When a User selects one (or left it without selecting - so that the 'Not Selected' is the "selected" value), the selected choice has a corresponding index number - 'Not Selected' is, usually, zero(0), 'Yes' is, usually, one(1) and so on.
Can I get/use this index number insted of the actual aelected value (by using: {post$['fig1']}, for example).
Because my forum is in Hebrew, I can't load images based on the Hebrew selection.
Ori...