Candice,
Concatenation happens because you have two form input elements with the same 
name.
HTH

~Svetlana Rudkovsky
Applications Developer, DIT Inc.
571-246-7197

o    
       o    
        o  @..@
          (----)  
         ( )--( )
          o0..0o



-----Original Message-----
From: Candice toro [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 11, 2007 6:05 PM
To: CF-Talk
Subject: Value concatenation

I'm unable to locate where the values concatenate.  When I click on the button 
twice, I get the following error msg, "Returns the value, "16,16".  I'm not 
sure what I'm doing wrong??  Can someone please help?
Thanks!


<cfif parameterexists(FORM.startindex)>
<cfset startnum = #FORM.startindex#>   
<cfelseif parameterexists(URL.startindex)>
<cfset startnum = #URL.startindex#> 
<cfelse>
<cfset startnum=1>
</cfif>

<cfset count = 0>
<cfoutput query="getdocs">
<cfset count=#count#+1>
</cfoutput>

<cfoutput>
<cfset endnum = #startnum# +14>
<cfif #endnum# GT #count#>
<cfset endnum = #count#></cfif>
<cfset prev=#startnum# - 15>
<cfset next=#endnum# +1>

<cfset reccount = #startnum# - 1>
<cfoutput query="getdocs" maxrows="15" startrow="#startnum#">
<cfset reccount = #reccount# +1>
<p align="left">

<!---<b>#reccount#.&nbsp;</b>--->

<cfif #getdocs.deptRestriction# EQ 0 OR #session.deptID# NEQ 
#getdocs.deptRestriction#>
<a href="#docstorage#/#docName#" target="_blank"><b>#docTitle#</b>
</a>
<cfelse>
<b>#docTitle# (Secured Document) </b>
</cfif> 

<font size="-2">Date: #DateFormat(lastupdate, "MM/DD/YY")#
Rev ##: 
<cfif #revision# is 0>Initial<cfelse>#revision#</cfif>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
<font size="-1"><br><b>#docNumber#</b><br></font>
<font size="-2">Summary: <i>#Left(summary, 125)#....&nbsp;&nbsp;&nbsp;(<a
href="../docs/view.cfm?docID=#docID#">see more</a>)</i></font>

<cfif ActionType NEQ 'R'>
<cfform action="../docs/docActionLog.cfm?#CGI.QUERY_STRING#">

<!---  <cfif #startnum# GTE 15> ---> 
<input type="hidden" name="hello" value="#startnum#">
<!--- <cfelseif #count# GTE #next#> 
<input type="hidden" name="next" value="#startnum#">
---> 
<!--- </cfif>  --->                       
<input type="hidden" name="DocName" value="#docName#">
<input type="hidden" name="DocID" value="#DocID#">
<input type="hidden" name="DocAction" value="R">
<input type="submit" value="I have reviewed and understand
this document"> 
</cfform>
</cfif>
</p>

</cfoutput>





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290937
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to