Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 93817

cfform autosuggest pass 2 values (locationname and locationid)

$
0
0

Hi chaps,

 

I've decided it's about time I started using cfform (3 mins in and I've already hit my first stumbling block!)

 

I want to have an autosuggest text input for users to choose a city. In my db I have locationnames and locationids.

 

eg

 

locationid   |   locationname

----------------------------------------

 

1                   London

2                   New York

3                   Paris

 

etc

 

The user will start to type the locationame - I want autosuggest to show locationanames that match, but when they submit the form I actually want the locationid to be passed..

 

How on earth do I do this with cfform?

 

Thanks very much for any help you can offer.

 

Nick


Viewing all articles
Browse latest Browse all 93817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>