Ask a Question related to Coldfusion Database Access, Design and Development.
-
quiero mas #1
prob posting form data to printable page
The following code is for a result page. I was wanting to know if i can post
the search result to a printable page.
I have got this woking fine for a normal form but I'm not really sure where to
begin with this.
the items I want to send are
#session.cart#
#session.cart#
------------------------------------------------> result
page<---------------------------------------------------------------------------
----
<cfif isdefined("form.action")>
<cfif trim(form.action) eq "+">
<cf_addItem
id="#form.id#"
name="#form.name#"
price="#form.price#"
quantity="#form.quantity#"<cfelseif trim(form.action) eq "remove">>
<cf_dropItem name="#form.name#">
</cfif>
</cfif>
<td ><cfoutput>
<form ACTION="healthsapporoindex.cfm" method="post">
<input name="action2" type="submit" value="main
list" class="addbutton"/></form>
</cfoutput>
<cfif isdefined("session.cart")>
<cfif IsStruct(session.cart)>
<cfset subtotal = 0>
<cfoutput>
<cfloop collection="#session.cart#" item="i">
<td valign=top><div align="left"><a
href="itemDetail.cfm?id=#session.cart#">#session.c art#</a></div></td>
<td valign=top><div align="left"><a
href="itemDetail.cfm?id=#session.cart#">#session.c art#</a></div></td>
<form method="post">
<input type="hidden" name="name"
value="#session.cart#">
<input type="hidden" name="id" value="#session.cart#">
<input type="hidden" name="price"
value="#session.cart#">
<input name="action" type="submit" value="remove"
class="addbutton"/>
</form>
</cfloop>
</cfoutput>
</cfif>
</cfif>
------------------------------------------------> result
page<---------------------------------------------------------------------------
----
I had thought of something like this
<cfoutput><form name="form" method="post" action="">
#form.session.cart#
#form.session.cart#
</form>
</cfoutput>
Regards Mark
quiero mas Guest
-
Form Data not posting...
Hi, Here is the action script from movie. When I click submit the from data loads I can see it with trace. However when it gets posted to CFpage... -
ASP.NET not posting form data
Dear all, We are a library and are trying to get an ASP.NET form page working on our site. the buttons and fields appear, but we are still having... -
problem posting data from asp form
I am running IIS5, Win2k Server, and .Net Framework 1.1. For some reason asp forms will not post data. So I have a form with a text box. The... -
List Box in form not posting data
I have a list box with the following: Row Source Type: Table/Query Row Source: <Saved Query with two columns selected> Column count:2 Multi... -
posting data from a web form to other one.
Hi, I have a frameset and two aspx page. How can post data from one web form to other one. Thanks -
quiero mas #2
Re: prob posting form data to printable page
sorry to double post but it would be great if someone could give me a little feed back
quiero mas Guest



Reply With Quote

