I am developing a site to help sell phone cards and I want to have a form that
allows the seller to choose the card they want to sell from a list. I want to
automatically populate the rest of the form with the relevant information about
the card before submitting the complete details for printing on a separate page.
I currently have the following code:
<!---query to return voucher provider ID --->
<cfquery name="getVoucherDetail" datasource="#request.datasource#">
SELECT voucherName
FROM Voucher
</cfquery>
<!---Create form for card details --->
<!--- Voucher Detail form --->
<cfform action="processRetail_a_Card.cfm">
<!--- begin table for registration form --->
<!--- create retailor ID --->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">Voucher:</td>
<td>
<cfselect name="voucherName"
query="getVoucherDetail"
value="voucherName"
display="voucherName"
required="Yes"
multiple="Yes"
size="2">
</cfselect>
</td>
</tr>
<!--- Submit registration information --->
<tr>
<td colspan="2" align="center">
<cfinput type="submit" name="Submit" value="SUBMIT">
How do I get the above section to submit the selected voucher to populate the
remainder of the form with the relevant details before I submit the form for
processing? TIA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318146
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4