I'm not totally following your question or where the error is from, but is the 
DocID in both the form action and hidden input?

> 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>
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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

Reply via email to