Originally posted by acoder
Yes it shows 3 serial information headers. Just shows all the fields next to each other.
example
serial information 1
serial 1, serial 2, serial 3
serial information 2
serial 1, serial 2, serial 3
an what i am trying to do is
serial information 1
serial 1
serial information 2
serial 2
I don't think the css has to do with anything because it only makes the design (color, align center), the only thing that could affect is is the table. but do i think i need to change the table to accomplish this?
Code:
<div id="dynamicInput">
<!--- All Ticket Information Appears Here--->
<!--- Shows what was previously entered for Model No, Product Type, and Type of Hardware Failure --->
<cfoutput query="serial">
<table class="zpExpandedTable" id="modeltable">
<th class="sectiontitletick" colspan="7">
Serial Information <!---#count# ---></th>
<tr>
<td id="paddingformultitop">Model No: </td>
</td>
<td>
<select name="modelno_' + count + '">
<option value="">Make A Selection</option>
<cfloop query="models">
<option value="#model#"<cfif #model# is #model_no#>selected</cfif>>#model#</option>
</cfloop>
</select>
</td>
<td>
Product Type:
</td>
<td>
<select name="producttype_' + count + '">
<option value="" selected>No Choice</option>
<cfloop query="getProdType">
<option value="#pk_productType#"<cfif #pk_productType# is #product_type#>selected</cfif>>#pk_productType#</option>
</cfloop>
</select>
</td>
<td class="red'">
Type Of Hardware Failure*:
</td>
<td>
<select name="hardwarefailure_' + count + '">
<option value="" selected>Make A Selection</option>
<cfloop query="getHardwareFail">
<option value="#pk_hardwareFailure#"<cfif #pk_hardwareFailure# is #type_hardware_failure#>selected</cfif>>#pk_hardwareFailure#</option>
</cfloop>
</select>
</td>
</tr>
<table>
<!--- Shows what was previously entered for Serial Number and Software/Hardware --->
<table class="zpExpandedTable" id="modeltable">
<tr>
<td id="paddingformultitop">
Serial Number:
<cfloop query="serial" ><input type="text" name="serialnum_' + count + '" value="#pka_serialNo#"></cfloop>
Software/Hardware:
<select name="softhardware_' + count + '">
<option value="" selected>No Choice</option>
<cfloop query="getSoftHard">
<option value="#pk_softwareHardware#"<cfif #pk_softwareHardware# is #software_hardware#>selected</cfif>>#pk_softwareHardware#</option>
</cfloop>
</select>
</td>
</tr>
</table>
<!--- Shows what was previously entered for Description --->
<table class="zpExpandedTable" id="resoltable" cellpadding="3" cellspacing="0">
<tr>
<td id="paddingformutli">
Description:
</td>
<td class="descriptionmoveinmulti">
( You may enter up to 500 characters. )
<br>
<cfloop query="description"><textarea maxlength="500" onkeyup="return ismaxlength(this)" onkeydown="return ismaxlength(this)" rows="4" cols="60" name="thedescription_' + count + '">#description#</textarea></cfloop>
</td>
</tr>
</table>
<!---Shows what was previously entered for Resolution --->
<table class="zpExpandedTable" id="resoltable" cellpadding="1" cellspacing="0">
<tr>
<td id="paddingformutli">
Resolution:
</td>
<td class="resolutionmoveinmulti">
( You may enter up to 500 characters. )
<br>
<cfloop query="serial"><textarea maxlength="500" onkeyup="return ismaxlength(this)" onkeydown="return ismaxlength(this)" rows="4" cols="60" name="resolution_' + count + '">#resolution#</textarea></cfloop>
</td>
</tr>
</table>
<!--- Shows what was previously entered for Resolution Date, Current Date (for resolution date) and resolution vertified as effective by --->
<table class="zpExpandedTable" id="resoldatetab" cellpadding="1" cellspacing="0">
<tr>
<td id="paddingformultitop">
Resolution Date: (MM/DD/YYYY)
</td>
<td>
<cfloop query="serial"><input type="text" name="resdate_' + count + '" value="#resolution_date#"> </cfloop>
Current Date:
<!---<input type="checkbox" name="currentdateresol_' + count + '" onClick=resdate_" + count + ".value=fill_date()>--->
</td>
<td>
Resolution Verified as effective by:
</td>
<td>
<select name="resvertified_' + count + '">
<option value="" selected>Make A Selection</option>
<cfloop query="gettech">
<option value="#fname# #lname#"<cfif "#fname# #lname#" is #resolution_verified_by#>selected</cfif>>#fname# #lname#</option>
</cfloop>
</select>
</td>
</tr>
</table>
<!--- Shows what was previously entered for Vertification Date, Current Date (for vertification date) --->
<table class="zpExpandedTable" id="resoltable" cellpadding="1" cellspacing="0">
<tr>
<td id="paddingformultitop">
Verification Date: (MM/DD/YYYY)
</td>
<td class="vertificationmoveinmulti">
<cfloop query="serial"><input type="text" name="vertifidate_' + count + '" value="#verification_date#"> </cfloop>
Current Date:
<!---<input type="checkbox" name="currentdatevert_' + count + '" onClick=vertifidate_" + count + ".value=fill_date()>--->
</td>
</tr>
</table>
<!--- Shows what was previously entered for Dept/Vendor Responsibility --->
<table class="zpExpandedTable" id="resoltable" cellpadding="1" cellspacing="0">
<tr>
<td class="red" id="paddingformultitop">
Dept/Vendor Responsibility*:
<select name="deptvendor_' + count + '">
<option value="" selected>Make A Selection</option>
<cfloop query="getDeptVendor">
<option value="#pk_deptVendor#"<cfif #pk_deptVendor# is #dept_responsibility#>selected</cfif>>#pk_deptVendor#</option>
</cfloop>
</select>
</td>
</tr>
</table>
<!--- Shows what was previously entered for RMA Data Only --->
<table class="zpExpandedTable" id="resoltable" cellpadding="1" cellspacing="0">
<tr>
<td id="paddingformultitop">
RMA Data Only:
</td>
<td class="rmanmoveinmulti">
( You may enter up to 500 characters. )
<br/>
<cfloop query="serial"><textarea maxlength="500" onkeyup="return ismaxlength(this)" onkeydown="return ismaxlength(this)" rows="4" cols="60" name="rma_' + count + '" >#rma_data#</textarea></cfloop>
</td>
</tr>
</table>
<input type="hidden" name="serialcount" value="' + count + '">
<!--- Adds Delete to every ticket --->
<table class="zpExpandedTable" id="resoltable" cellpadding="1" cellspacing="0">
<tr>
<td>
<!---<input type="button" class="removeticket" value="Remove Serial "'+count +'"" onclick=\"removeElement(\'"+divIdName+"\')\">--->
</td>
</td>
</tr>
</table>
</cfoutput>
</div>
Thank you for all the help,
Rach
Comment