Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

popup selects input form

Status
Not open for further replies.

gadjodilo77

Programmer
Sep 23, 2005
79
NL
Hi,

I wonder. I have a form with a couple of input formfields. Is it possible to let users select the data to be inserted/filled in in the formfield by openening a pop-up screen which shows data from a query.
If people select an item, than this item will be placed into the formfield.

Hopefully you understand what I mean.

Thank you in advance,

Kabbi
 
Well, you could use a <cfselect> box, that would give them a list of results to use, and then just populate the list from a query.

Rob
 
Hi,

I now used some javascript, which works fine.

function sendValue(s){
var selvalue = s.options[s.selectedIndex].value;
window.opener.document.form1.mail.value = selvalue;
window.close();
}

Thank you anyway!

Grt, Kabbi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top