Your question isn't very clear, but if you want the selected fonts in the
create-list.cfm page:
In the create-list.cfm you have the var form.select that contains a comma separated
list of fonts checked in the form below. You may want to pass the IDs as avalue
instead of the font-name.
<cfinput type="Checkbox" name="select"
value="#GetFontFamily.ID#"> #GetFontFamily.sti#<br>
PS If you want to use CFFORM here (why?), set enablecab to NO. You are not using any
applets and this will just annay users by asking them to download the cab files.
-----Oorspronkelijk bericht-----
Van: phumes1 [mailto:[EMAIL PROTECTED]]
Verzonden: di 5-2-2002 19:45
Aan: CF-Talk
CC:
Onderwerp: Re: Getting results from a checkbox list...
Hi,
I'm displaying a list of fonts from a database.
<cfform action="create-list.cfm" method="POST" enablecab="Yes">
<td class="dirlinks">
<cfquery name="GetFontFamily" datasource="fontstyles">
SELECT sti, ID
FROM fontsti
ORDER BY sti
</cfquery>
<cfoutput query="GetFontFamily">
<cfinput type="Checkbox" name="select"
value="#GetFontFamily.sti#"> #GetFontFamily.sti#<br>
</cfoutput>
</td>
</tr>
</table>
</cfform>
Which displays something like:
[ X ] aachen
[ ] accolade
[ X ] adelon
[ X ] amelia
and so on...
My question is, how can I display just the fonts that are checked above in
another template for further processing.
______________________________________________________________________
Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists