Question:

Coldfusion display results?

by  |  earlier

0 LIKES UnLike

Hey Everyone,

well i am having trouble displaying my results correctly. In my form i have the option where you can upload the same field as many times as you want. Like you can have serial number1, serial number 2, an such on....

Anyway when i go to display them (so i can print/email it). When i physically see the results it will show it like this

customer support

general information

(fields)

contact information

(fields)

serial information

666

attachments

(fields)

customer support

general information

(fields)

contact information

(fields)

serial information

777

attachments

(fields)

an then when it sends the email instead of it sending me 1 email with all the information it sends me 2 one with the serial information for 666 an the other with the serial information for 777.

an i am just wondering how could i make this information display like this

customer support

general information

(fields)

contact information

(fields)

serial information

666

serial information

777

attachments

(fields)

here is what the results look like

<cfoutput>

<fieldset>

<legend>General information</legend>

<ol>

<li>

<label for="fname">Title:</label>

#Form.title#<br/>

</li>

<li>

<label for="lname">Priority:</label>

#Form.priority#<br/>

</li>

<li>

<label for="jobtitle">Status:</label>

#Form.status#<br/>

</li>

</ol>

</fieldset>

<fieldset>

<legend>Contact information</legend>

<ol>

<li> <label for="id">Customer Number:</label>

#form.custnum#<br/>

</li>

<li>

<label for="fname">Company Name:</label>

#Form.compname#<br/>

</li>

<li>

<label for="lname">First Name:</label>

#Form.fname#<br/>

</li>

<li>

<label for="jobtitle">Last Name:</label>

#Form.lname#<br/>

</li>

<li>

<label for="jobtitle">Address:</label>

#Form.address#<br/>

</li>

<li>

<label for="jobtitle">City:</label>

#Form.city#<br/>

</li>

<li>

<label for="jobtitle">State:</label>

#Form.state#<br/>

</li>

<li>

<label for="jobtitle">Zip:</label>

#Form.zip#<br/>

</li>

<li>

<label for="jobtitle">Email:</label>

#Form.email#<br/>

</li>

<li>

<label for="jobtitle">Primary Phone:</label>

#Form.priphone#<br/>

</li>

<li>

<label for="jobtitle">Secondary Phone:</label>

#Form.secphone#<br/>

</li>

<li>

<label for="jobtitle">Customer Notes:</label>

#Form.custnotes#<br/>

</li>

<li>

<label for="jobtitle">Cost Center Id:</label>

#Form.costcenterid#<br/>

</li>

<label for="jobtitle">HTPP:</label>

#Form.htpp#<br/>

</li>

</ol>

</fieldset>

<fieldset>

<legend>Serial information</legend>

<ol>

<li>

<label for="fname">Model No:</label>

#evaluate(modelno)#<br/>

</li>

<li>

<label for="lname">Product Type:</label>

#evaluate(producttype)#<br/>

</li>

<li>

<label for="jobtitle">Type of Hardware Failure:</label>

#evaluate(hardwarefailure)#<br/>

</li>

<li> <label for="id">Serial Number:</label>

#evaluate(serialnum)#<br/>

</li>

<li>

<label for="jobtitle">Software/Hardware:</label...

#evaluate(softhardware)#<br/>

</li>

<li>

<label for="jobtitle">Description:</label>

#evaluate(thedescription)#<br/>

</li>

<li>

<label for="jobtitle">Resolution:</label>

#evaluate(resolution)#<br/>

</li>

<li>

<label for="jobtitle">Resolution Date:</label>

#evaluate(resdate)#<br/>

</li>

<li>

<label for="jobtitle">Resolution Verified as effective by:</label>

#evaluate(resvertified)#<br/>

</li>

<li>

<label for="jobtitle">Verification Date:</label>

#evaluate(vertifidate)#<br/>

</li>

<li>

<label for="jobtitle">Dept./Vendor Responsibility:</label>

#evaluate(deptvendor)#<br/>

</li>

<li>

<label for="jobtitle">RMA Data Only:</label>

#evaluate(rma)#<br/>

</li>

</ol>

</fieldset>

<fieldset>

<legend>Attachments</legend>

<ol>

<li> <label for="id">Description:</label>

#currentDescription#<br/>

</li>

</ol>

</fieldset>

</cfoutput>

Thank you in advance,

Rach

 Tags:

   Report

1 ANSWERS


  1. Your question is very vivid, but I suggest checking out: www.sitepoint.com/article/cold-fusion-tu...

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.