Thanks Anthony, You were not missing anything, I was. Your reply solved the problem for me - I was looking for something complicated, when the simple answer was in front of me. I had constructed my Option tags differently - I was using the same data for both the name and the value, as previously I had no reason for doing otherwise. When I did need to have different values, I just couldn't see the answer. Thank you very much. -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Anthony Baratta Sent: Tuesday, 30 December 2008 4:20 p.m. To: thelist at lists.evolt.org Subject: Re: [thelist] Send hidden data from a form 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 ! -- * * 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 !