Ask a Question related to Coldfusion Database Access, Design and Development.
-
Samurai_Sjakkie #1
populate field.
is there any way where if i select an option (see below) and that when it is
selected it will put the price of the product below it.... the list would have
eg 4 items if not more. so when i select item 1 it will say ?1.99 in the
location <td>****PRICE GOES HERE****</td> below...... I would like to do
this just in coldfusion and not anything else. (javascript) etc......
<tr>
<td></td>
<td><b>Product:</b></td>
<td><select size="1" name="test1"><cfoutput query="getproducts"><option
value="#getproducts.Name#">#getproducts.name#</option></cfoutput></select></td>
<td></td>
<td></td>
</tr>
<cfoutput>
<tr>
<td></td>
<td><b>Price</b></td>
<td>****PRICE GOES HERE****</td>
<td></td>
<td></td>
</tr>
Samurai_Sjakkie Guest
-
Populate dynamic text field with PHP array
I would like to be able to dynamically populate a dynamic text field (assuming that's the best component to use) with an array of data from PHP. ... -
How to populate drop down list from one field withdelimiters
Hello How can we populate a drop down dynamically from the database by splitting one row of data . I have data in a field which is seperated by... -
Dynamic Drop Down and To Populate a Text Field
Hello, I have a db with urltitle and ulrlink one is for title the other its hyperlink. I have a dynamic list hooked up to title, but I want the url... -
Populate select field and textbox dynamically - no refresh
Ive got a db table with the fields Product_Name and Product_Price. I want to display a pulldown containing the product names and display the... -
Auto populate a field in a form from another table
Hi Julie, If you are using a combo or listbox to select the RFQ number you can simply add the item number field to the Rowsource query of the... -
jdeline #2
Re: populate field.
ColdFusion runs on the server, not the user's computer. You would have to
reload the page from the server, with the price in the table cell, if you don't
want to use a client-side script (e.g., JavaScript)
jdeline Guest
-
Dan Bracuk #3
Re: populate field.
If the select is part of a form that contains other fields, attempting to do this with cold fusion will be incredibly complicated. Why don't you want to use js?
Dan Bracuk Guest



Reply With Quote

