Menu

#4 value/description pairs

open
nobody
None
5
2005-05-26
2005-05-26
Anonymous
No

For an autocompleting dropdown to be truly useful for
any of the webapps I program, it needs to be able to
pair a value and description, like a standard HTML
"select" box. The autocomplete searching would be
against the description but when you submit the form,
it's the value that gets passed. Would something like
this be possible for WICK ?

Discussion

  • Chris Holland

    Chris Holland - 2005-05-26

    Logged In: YES
    user_id=248425

    interesting! we can certainly look into it. i may have a use for that myself.
    thanks for your input!

     
  • Nobody/Anonymous

    Logged In: NO

    the sooner, the better - I would have an immediate use for
    it. I could try to help implement it, but I'll warn you my
    javascript isn't exactly industrial-strength.

     
  • Chris Skinner

    Chris Skinner - 2005-05-31

    Logged In: YES
    user_id=1288782

    I would also have a use for something like that. The
    collection structure could be built on the back end and when
    selected, the value could be a url that gets called. I'll help
    too but my js is also pretty weak.

     
  • Bill Coghill

    Bill Coghill - 2006-04-11

    Logged In: YES
    user_id=326671

    I'll second that request. It might be easier to impliment
    as a second array with the value required that could then be
    returned. At the moment I am doing a lookup in mySQL on the
    returned string and matching the record id. Its a bit of a
    kludge, but seems to work.

    Any thoughts ? javascript is new to me, but PHP and mySQL
    is where my skills are.

    Bill

     

Log in to post a comment.