note 20302 modified in faq.html by goba

From: Date: Mon, 12 Aug 2002 14:05:12 +0000
Subject: note 20302 modified in faq.html by goba
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34851@lists.php.net to get a copy of this message
Remember, the values of the listbox should be selected before they are transmitted. Of course, to the casual observer this is trival as hell. But: if you're working with multiple listboxes let's say for transferring values from one box to the other (anyone know a better way of updating a many-to-many relation?) this is easily overlooked. well.. okay... at least it happened to me. So: in this situation, make sure that there's a JavaScript that selects all values once the submit button is pressed. --was-- Remember, the values of the listbox should be selected before they are transmitted. Of course, to the casual observer this is trival as hell. But: if you're working with multiple listboxes let's say for transferring values from one box to the other (anyone know a better way of updating a many-to-many relation?) this is easily overlooked. well.. okay... at least it happened to me. So: in this situation, make sure that there's a JavaScript that selects all values once the submit button is pressed. http://www.php.net/manual/en/faq.html.php

« previous php.notes (#34851) next »