|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Drop Down Box in Forms
I am not sure how to do a drop down box in Cold Fusion in regarding to forms? Would I use something with cfindex or another tag/function? And how would I enter those fields in?
Thanks! |
|
#2
|
||||
|
||||
|
Use the cfselect tag (take a look in your manual on how to use).
|
|
#3
|
|||
|
|||
|
Quote:
You can use regular HTML form style for <SELECT> <select name="State"> <option value="choose">[CHOOSE ONE]</option> <option value="AB">Alabama </option> </select> And when you use <CFINSERT> on your actionpage it alls comes together. No fuss No muss!!!!!! |
|
#4
|
|||
|
|||
|
drop down- cont.
Quote:
I am not going to be inserting what I am selecting though. I am going to be comparing it in a serach. Do you have any suggestions? |
|
#5
|
|||
|
|||
|
cfselect spacing
Quote:
Is there any way to get the spacing on the cfselect statement, so I can actually see the choices that I type in. Right now the box is really really small. Thanks! |
|
#6
|
|||
|
|||
|
Quote:
Use or <br /> depending on if you want more space on the sides or inbetween. <select name="booty" > <option value="big"> big </option> <option value="bigger">bigger<br /></option> <option value=" biggest"> biggest </option> no cfselect needed......keep it easy Last edited by mikemac : October 7th, 2004 at 03:39 PM. Reason: more clarity |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Drop Down Box in Forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|