Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: maybe another way to do this?
12-28-2010, 06:43 PM #1
- Join Date
- Aug 2010
- High Point, NC
- Thanked 363 Times in 360 Posts
maybe another way to do this?
Hi I have a CF application that uses a form page to enter data into the input fields, then passes those fields as SESSION variables to the action page so that the use can view hwo the page is going to look. basically is an application to build new html documents/pages.
Everything so far works fine. I have need to keep adding input fields at various stages, and so I have added a text area for the purpose of adding a list of sorts which is a list of cross references to a particular product related to the page being built.
The cross reference list variable: SESSION.crossRefList is then passed to the action page and displayed in an unordered list by means of <cfloop> like so:
<ul> <cfloop index="crossRefList" list="#FORM.crossRefList#" delimiters="#chr(13)##chr(10)#"> <li><cfoutput>#crossRefList#</cfoutput></li> </cfloop> </ul>
I would love to be able for the data entry girl to enter this without having to actually enclose the first list item in <h3> tags, however, it ezcapes me on how this would be accomplished, since again this is completely dynamic and the number if list items is unknown. Here is an example of the lists I'm talking about, then you can see what I trying to figure out.
Alpine SKY10 Apollo Products Imager 100 Best Hood K15 Callisto 3094071 Cole-Parmer Compound Microscope Trinocular, Catalog No. A-48924-30 Fenix 3069061 Helix 3003051 Kitchenaid Locos 3072071 Lumos 3071071 3093071 Rumex 3001061 Solaris 3043061 Sunnex Flexible Halogen Light Thermadore Hood Light HG5W36TS