If your form is generated dynamically, you could include a hidden form element with the same name that contains a dummy value. Then, just ignore the dummy value.
You can add a - please select - entry and preselect it. - please select - Privilégier Accepté Temporaire.
If (!isset($_POST'eng_0')) $_POST'eng_0' = array(); EDIT: Add a hidden field whenever the multiple select is present in your form: Then check: if (!isset($_POST'eng_0') && isset($_POST'eng_0_exists')) $_POST'eng_0' = array().
I don't know if the array was not submitted because: 1) The user did not choose any option 2) The control was not even there on the form (the form is generated dynamically, using a quite complex algorithm). These are two different scenarios for me and I would like to be able to tell what is going on. – Vincent Jul 15 '09 at 16:00.
Adicionar ao Carrinho When I do print_r($_POST); on the other side the output is simply: Array ( acao => add id => 3 ) and no sign of the select tag, even when I change the value on the other side.
I generally handle this situation by always adding a pre-selected "_empty" option : Privilégier Accepté Temporaire And on the server-side (sorry I am bad with PHP so cannot give you code), you just trim the "_empty" value from the array, so : "Accepté", "Temporaire", "_empty" -> "Accepté", "Temporaire", and most important : "_empty" -> . I find this to be the most elegant solution to solve this problem. It degrades gracefully (doesn't require any javascript), and it is dead simple.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.