[Proto-Scripty] Altering information beofre submitting to field
Hi, i am rather new to autocomplete and i have run across a problem. Ive tried google but the mass of information is intimidating. My probem is that i want to the dropdownlist from the auocompletion to display more information than what will actualy be submitted to the field. i have a list of IDs complete with a discription of the IDs and i want the ID and discription to appear in the dropdown list but i only want the ID to be submitted to the form. How do i accomplish this, thanks in advance, Linus -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Altering information beofre submitting to field
Take a look at the 'informal' option in the Wiki. If you code your drop-down with span class=informal wrapping the parts you don't want submitted, then you will get precisely what you're asking for. Walter On Dec 9, 2010, at 7:58 AM, Lincarte wrote: My probem is that i want to the dropdownlist from the auocompletion to display more information than what will actualy be submitted to the field. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.