I have 15 documents on one page and there are ack buttons for each document 
listed.  If I click the button once, i return to the current page; if i click 
another button, i get the error msg. Does this help? Thanks



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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290961
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