Hello guys,
I've a question, I hope you can help me.
I enter a value from a dropdown. When I edits that dropdown previous value is not correctly show, but default value is shown. So if I save I lose old value and dropdown is set to default value.
I set value in EditView.html from this dropdown
In EditView.php I'vePHP Code:<select title="{MACHINEPARKSMARCHE_C_HELP}" name="machineparksmarche_c">{OPTIONS_MACHINEPARKSMARCHE_C}</select>
What could be the error?PHP Code:$xtpl->assign("OPTIONS_MACHINEPARKSMARCHE_C", get_select_options_with_id($app_list_strings['machineparksmarche_c'], $app_list_strings['machineparksmarche_c_options_default_key']));
Printing some variable on the screen I noted that in EditView.php I've a variable 'name' in which is store saved value of dropdown. So I need some way to pass that value to dropdown...
Could someone help me? Is there some check to do on other files?If yes, could you say me where?
Sorry for inexperience, I'm a newbie
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Fan Of Sachin Tendulkar
Bookmarks