![Picture of Alberto Pri Picture of Alberto Pri](/graphics/unknown.gif)
Alberto Pri - 2007-04-04 10:44:20 -
In reply to message 4 from Alberto Pri
How could I get the values of the select_input, the right side values.
Here's an example because I'm not explaining it very well
In the test_linked_select.php file we make a select input with this values:
$countries=array(
""=>array(
""=>"Select country",
),
"na"=>array(
""=>"Select country",
"us"=>"United States",
"ca"=>"Canada"
)......
}
In the example if I choose USA, when the form is submitted you show the
right side value "United States" calling the function
$country=$form->GetInputValue("countryt");
But I really need the left value, that is "us".
Any suggestion?? Thx