How are you constructing your Option Tags? It should be as simple as: [option value="123"] Red Sox [/option] Or am I missing something? -----Original message----- From: "Santilal Parbhu" santilal at scorpioneng.co.nz Date: Mon, 29 Dec 2008 19:06:58 -0800 To: thelist at lists.evolt.org Subject: [thelist] Send hidden data from a form > Hi, > > > > I am trying to overcome a problem where the data received from an HTML form > menu is being truncated when a space is seen. For example, if the option > value of Red Sox is sent, it is truncated to Red. > > > > I have not been able to find an answer to this for over a year now. I > thought that another way to tackle this would be to send a hidden code with > each option value: for example; Red Sox, Code = 123, Blue Sox, Code = 124 > etc. Then, the receiving script could simply look for the returned codes. > Is there a way of embedding codes to option values when the form is > displayed. Receiving the code would be straight forward. I know you can > send a hidden value associated with an "input" value, but can you associate > it with a "select/option" value? > > > > I am using PHP4. > > > > Thanks. > > > > Santilal Parbhu > > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt !