Transferring [cart] to Database
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15263
interpreted = N
texte =
Here is add customer form:
<!HAS_WEBDNA_TAGS>
<HTML>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="ReviewAddCust.tmpl?cart=[cart]" METHOD="POST">
<P>[include file=custHeader.inc]
<CENTER>
<BR>
<!-- Transfer the cart number into a field -->
<INPUT TYPE="HIDDEN" NAME="TEMPSKU" VALUE="[CART]">
<DIV ALIGN=CENTER>
<TABLE BORDER="3">
<TR>
<TD WIDTH="155" ALIGN=RIGHT><B>First Name:</B></TD>
<TD WIDTH="265"><INPUT TYPE="text" NAME="firstname" SIZE=43 MAXLENGTH=55></TD>
</TR>
<TR>
<TD ALIGN=RIGHT><B>Last Name:</B></TD>
<TD><INPUT TYPE="text" NAME="lastname" SIZE=43 MAXLENGTH=55></TD>
</TR>
</TABLE>
</DIV>
<INPUT TYPE="submit" VALUE="Send Information">
</FORM>
</BODY>
</HTML>
*****************************************
Here is next URL - ReviewAddCust.tmpl
<!HAS_WEBDNA_TAGS>
<!-- Put the submitted values into the tempcust database -->
[APPEND db=tempcust.db]
sku=[tempsku]&firstname=[firstname]&lastname=[lastname]&company=[company]
[/APPEND]
<A HREF="d2mcustEdit.tmpl?cart=[cart]">Go Back</A>
*******************************************
If after I click on Go Back, and look at the tempcust.db with BBedit, I do not see any value in SKU.
Is there something special that I have to do to have the cart number saved as the SKU for this database?
Thanks.
LO
Associated Messages, from the most recent to the oldest:
Here is add customer form:
<!HAS_WEBDNA_TAGS>
<HTML>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="ReviewAddCust.tmpl?cart=[cart]" METHOD="POST">
<P>[include file=custHeader.inc]
<CENTER>
<BR>
<!-- Transfer the cart number into a field -->
<INPUT TYPE="HIDDEN" NAME="TEMPSKU" VALUE="[cart]">
<DIV ALIGN=CENTER>
<TABLE BORDER="3">
<TR>
<TD WIDTH="155" ALIGN=RIGHT><B>First Name:</B></TD>
<TD WIDTH="265"><INPUT TYPE="text" NAME="firstname" SIZE=43 MAXLENGTH=55></TD>
</TR>
<TR>
<TD ALIGN=RIGHT><B>Last Name:</B></TD>
<TD><INPUT TYPE="text" NAME="lastname" SIZE=43 MAXLENGTH=55></TD>
</TR>
</TABLE>
</DIV>
<INPUT TYPE="submit" VALUE="Send Information">
</FORM>
</BODY>
</HTML>
*****************************************
Here is next URL - ReviewAddCust.tmpl
<!HAS_WEBDNA_TAGS>
<!-- Put the submitted values into the tempcust database -->
[APPEND db=tempcust.db]
sku=[tempsku]&firstname=[firstname]&lastname=[lastname]&company=[company]
[/APPEND]
<A HREF="d2mcustEdit.tmpl?cart=[cart]">Go Back</A>
*******************************************
If after I click on Go Back, and look at the tempcust.db with BBedit, I do not see any value in SKU.
Is there something special that I have to do to have the cart number saved as the SKU for this database?
Thanks.
LO
Larry Orchier
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
hideifs using [date] (1999)
2nd Request for help/advice on variable pricing + MORE (2000)
webcat method for waiting specific amount of time? (2000)
Search design (1997)
WebCat2 as a chat server? (1997)
Cancel Subscription (1996)
Friendly , quick 'security' check, please (2003)
Looking up two prices in database? (1997)
OT: Outsourcing & copyrights (2005)
autocommit problem (1998)
Test (2003)
Formatted [time] inside sendmail (2002)
All choice in popups (1997)
Rollovers (1999)
PCS Frames (1997)
WebCatalog2 Feature Feedback (1996)
code below an [authenticate] gets evaluated? (2000)
numfound question (2005)
How To question on setting up downloads (1997)
Help w/Multi User Admins (1997)