![Picture of francesco Picture of francesco](/graphics/unknown.gif)
francesco - 2014-03-27 08:18:32 -
In reply to message 2 from Manuel Lemos
this is the code,
$form->AddInput(array(
"TYPE"=>"select",
"NAME"=>"credit_card_type",
"ID"=>"credit_card_type",
"VALUE"=>"pick",
"SIZE"=>1,
"OPTIONS"=>array(
"pick"=>"Pick a credit card type",
"unknown"=>"Unknown",
"mastercard"=>"Master Card",
"visa"=>"Visa",
"amex"=>"American Express",
"dinersclub"=>"Diners Club",
"carteblanche"=>"Carte Blanche",
"discover"=>"Discover",
"enroute"=>"enRoute",
"jcb"=>"JCB",
"0"=>"Là routè ùàòè"
),
"ValidateAsDifferentFromText"=>"pick",
"ValidateAsDifferentFromTextErrorMessage"=>
"Pick the credit card type or set to Unknown if you do not know the type.",
"ValidationErrorMessage"=>"It was not specified a valid credit card type.",
"LABEL"=>"Credit card t<u>y</u>pe",
"ACCESSKEY"=>"y"
));
As you can see, in OPTIONS I've put latin char, you can see the result in at this page: http://istitutomonteceneri.francescoallevi.org/libs/formsgeneration-2013-01-09/test_form.php, as you can the last voice in the menu select is empty, the php's version is 5.4.4, before with 5.3 I hadn't this problem, am I missing something?
Thank you