What I see on the Wiki is the following:

If you wish to display additional information in the autocomplete dropdown that you don’t want inserted into the field when you choose an item, surround it in a <span> (could work with others but not tested) with the class of “informal”.


For instance, the following shows a list of companies and their addresses, but only the company name will get inserted:

<ul> <li>ACME Inc <span class="informal"> 5012 East 5th Street</span></ li> <li>Scriptaculous <span class="informal"> 1066 West Redlands Parkway</span></li> </ul> If you are working in the part of the view that generates the hints, then it appears you simply decorate the parts you want the visitor to see but the server not to see with a span class informal. Everything inside the li except the contents of that span will be sent to the server.
Walter
On Dec 9, 2010, at 9:55 AM, Lincarte wrote:

Thank You Walter, using the infromation you gave me i was able to
perform better google searches myself.
The problem however is still usolved.

I forgot to mention that i am working with Lotus Notes Domino Designer
and i adding the informal attribute in the view removed the section
entierly. am i missing something?

Perhaps an option for the Autocompleter?

On 9 Dec, 15:17, Walter Lee Davis <wa...@wdstudio.com> wrote:
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.- Dölj citerad text -

- Visa citerad text -

--
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-scriptaculous@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 .


--
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.

Reply via email to