Insert record behavior and multiple dynamic lists
I have a complex form that contains an insert record
behavior. Some of the fields are dynamic lists. My database has a
table to hold the static fields from the form and a number of
tables to hold the results from each dynamic list. I have the first
form and another form for review purposes. On the review form I am
getting an "Invalid argument supplied for foreach()" for each table
I try to insert the dynamic list results into. My investigation
leads me to believe that the arrays from the first form are being
subsumed by the actual insert action and that when my review form
is called, the arrays ($_POST) are no longer there. How do I ensure
that the arrays being set in part 1 of the Insert record behavior
will still be around for the review form? Any time I try to insert
code into the actual insert code, Dreamweaver duplicates the
behavior and tells me it can't decide which one to use.
So it appears that I'm not the only person with this problem. One of the solutions I found was to use a Server.Transfer Server.Transfer("thank_you.asp")
instead of a Redirect.
This works however, now my form validation is broken.
Similar Messages
-
Insert Record Behavior - Not passing variables
I have an ASP form which collects information and posts the data to the database on submission and redirects the user to a thank you page.
The user is provided a support request and I would like to provide the user with an auto-generated number created when the database gets created. However, the Action on the submit form is <%=MM_editAction%> since I'm using the insert record behavior and now I can't seem to pass the form variable over to be used in my results recordset.
Should I use a session variable instead or is there a way to make the insert record bahavior work and pass in the form variable?So it appears that I'm not the only person with this problem. One of the solutions I found was to use a Server.Transfer Server.Transfer("thank_you.asp")
instead of a Redirect.
This works however, now my form validation is broken. -
CS4 Insert Record behavior when form spans pages
Hello!!
I have a form that spans pages, carrying the values via the session from page to page.
The insert record behavior only picks up the values from the page in which I am inserting the behaviour (which I understand)
Can I use the behavior "wizards" to create an insert that will use my session variables or do I have to do it through a script?
I am relatively new to web coding (php) so any help would be appreciated.
Thanks to all!! Have a great day...
RichI think I discovered the answer, but I would appreciate if someone can confirm if it's the right way or wrong way.
I made hidden input fields, and made the default value the contents of the session variable for each field I brought over from previous pages.
Seems to work, but is this a good way of doing it or a n00b way?
Thanks,
Rich -
ADF 10.1.3: Simultaneous insert of Master and Multiple detail records
Hi,
I'm trying to implement an Insert page (JSP document) having a Master table form and Multiple detail records grid with a Pop up to insert Detail records into the grid.
The user should be able to input Master record details, then Detail records one by one, and finally insert all into the database.
I'm wondering how this could be done using the Drag n drop feature of ADF (with ADF faces, JSF and Toplink) to the maximum extent.
Please give me a rough guideline on how this could be done.
Thanks in advance
VikasAnyone???
-
Referencing a "checked record" from my ADDT Dynamic List using a SPRY Menu
I have just posted a Beta of my site to:
http://www.clearwave.biz/Beta/T1COElogin.cfm
- Username is: Beta
- Password is: 123
- Once you are logged in you should see the ADDT list w/one
order listed.
- Click on the Printer icon & the Order Agreement will
open in PDF. (this works fine)
- Click on the InfoSheet link & the Report will open in
PDF as well. (this works fine)
- Everything works fine if you use the links on the same line
as the record.
- But if you check the CheckBox on the left, then choose the
Spry Menu above, Reports/T1 Agreement the report will not work?
Question: What should the Link be to reference the checked
item below, pass the CustID value to the report & print the
PDF?
(Note: the CF report has the following line in the SQL:
(tblT1OrderProcessing2.T1CustID = #param.T1CustID#) and the report
prints fine in Report Builder if I pass it the T1CustID, as well as
if I click the links on the same line as mentioned above, so this
is just an issue of grabbing the CustID value from the checked line
& passing it to the report link in the Spry menu)
Here is a visual picture of my Dynamic List page:
http://cerberus.clearwave.com/jerry/Order_Management_Main_Page.jpg
Thanks in advance for the help,
jligHere is the Report URL that works perfectly when clicking the
Printer icon on the right of my List:
http://www.clearwave.biz/Beta/reports/T1_Service_Agreement.cfm?T1CustID=1508
and the link to the InfoSheet:
http://www.clearwave.biz/Beta/reports/T1_Information_Sheet.cfr?T1CustID=1508
Both of these work perfectly by grabbing the T1CustID value
of 1508 from the line. -
ASP VBScript and ADDT Dynamic List Wizard HELP
Using ADDT I've created a dynamic list in a membership area. How do I get that dynamic list to populate only the data for that particular member that is logged in. Any help would be so much appreciated as I have been trying to figure this out for days now.
<br />
<br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<br />
<!--#include file="../Connections/rentalpaypro.asp" -->
<br />
<!--#include file="../includes/common/KT_common.asp" -->
<br />
<!--#include file="../includes/tNG/tNG.inc.asp" -->
<br /><%<br />'Start log out user<br /> Set logout = new tNG_Logout<br /> logout.setLogoutType "link"<br /> logout.setPageRedirect "../index.html"<br /> logout.Execute<br />'End log out user<br />%>
<br />
<!--#include file="../includes/tfi/TFI.asp" -->
<br />
<!--#include file="../includes/tso/TSO.asp" -->
<br />
<!--#include file="../includes/nav/NAV.asp" -->
<br /><%<br />'Start Restrict Access to Page<br /> Dim restrict: Set restrict = new tNG_RestrictAccess<br /> restrict.Init MM_rentalpaypro_STRING, "../"<br />'Grand Levels: Any<br /> restrict.Execute<br />'End Restrict Access to Page<br />%>
<br /><%<br />' Filter<br /> Dim tfi_listLandlord_Property1: Set tfi_listLandlord_Property1 = new TFI_TableFilter<br /> tfi_listLandlord_Property1.Init MM_rentalpaypro_STRING, "tfi_listLandlord_Property1"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.ContactInfoID", "NUMERIC_TYPE", "ContactInfoID", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.RegistrationID", "NUMERIC_TYPE", "RegistrationID", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.StreetNumber", "NUMERIC_TYPE", "StreetNumber", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.StreetName", "STRING_TYPE", "StreetName", "%"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.AptNumber", "NUMERIC_TYPE", "AptNumber", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.City", "STRING_TYPE", "City", "%"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.State", "STRING_TYPE", "State", "%"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.ZipCode", "NUMERIC_TYPE", "ZipCode", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.MonthlyRent", "NUMERIC_TYPE", "MonthlyRent", "="<br /> tfi_listLandlord_Property1.Execute()<br /><br />' Sorter<br /> Dim tso_listLandlord_Property1: Set tso_listLandlord_Property1 = new TSO_TableSorter<br /> tso_listLandlord_Property1.Init "rslistLandlord_Property1", "tso_listLandlord_Property1"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.ContactInfoID"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.RegistrationID"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.StreetNumber"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.StreetName"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.AptNumber"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.City"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.State"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.ZipCode"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.MonthlyRent"<br /> tso_listLandlord_Property1.setDefault "Landlord_Property.ContactInfoID"<br /> tso_listLandlord_Property1.Execute()<br /><br />' Navigation<br /> Dim nav_listLandlord_Property1: Set nav_listLandlord_Property1 = new NAV_Regular<br /> nav_listLandlord_Property1.Init "nav_listLandlord_Property1", "rsLandlord_Property1", "../", Request.ServerVariables("URL"), 10<br />%>
<br /><%<br />Dim qry_contactinfo__MMColParam<br />qry_contactinfo__MMColParam = "1"<br />If (Session("kt_login_id") <> "") Then <br /> qry_contactinfo__MMColParam = Session("kt_login_id")<br />End If<br />%>
<br />Use the session variable from the log in method (MM_Username as I recall) to create a recordset that you then use in the dynamic list versus using the whole table.
-
SQLLoader Record Types and Multiple Rows
Ugh! I'm trying to load some Options data (Calls and Puts) which is a single csv record with both Calls and Puts and a Change (% Change is price) field which contains 'pc', '--', or a number.
I've tried multiple NULLIF conditions to set the 'pc' and '--' to null while retaining the Change value. I've tried WHEN statements to test for each 'pc', '--', and Change values. How should this be coded?
In addition, the record has two segments (Calls and Puts), how should the INTO table and WHEN be coded to insert two rows for each record?
Control file....
options (skip=3)
load data
infile 'OEX18Nov05.csv' "str '\r\n'" replace
into table OEX_Options
when (change='pc')
fields terminated by ',' optionally enclosed by '"'
(class char,
last char,
change char nullif (change='pc'),
bid char,
ask char,
volume char,
openinterest char)
into table OEX_Options
when (change='pc')
(class char,
last char,
change char nullif (change='--'),
bid char,
ask char,
volume char,
openinterest char)
into table OEX_Options
when (change<>'pc') and (change<>'--')
(class char,
last char,
change char,
bid char,
ask char,
volume char,
openinterest char)
... repeat above for second part of the record?
.OEX (CBOE),574.69,+3.52
Nov 18 2005 @ 17:44 ET (Data 15 Minutes Delayed)
Calls,Last Sale,Net,Bid,Ask,Vol,Open Int,Puts,Last Sale,Net,Bid,Ask,Vol,Open Int
05 Nov 400.0 (OXB KT-E),0,pc,174.40,174.60,0,0,05 Nov 400.0 (OXB WT-E),0.05,pc,0,0.05,0,1000
05 Nov 420.0 (OXB KD-E),0,pc,154.40,154.60,0,0,05 Nov 420.0 (OXB WD-E),0.05,pc,0,0.05,0,1680
05 Nov 440.0 (OXB KH-E),0,pc,134.40,134.60,0,0,05 Nov 440.0 (OXB WH-E),0.05,pc,0,0.05,0,6683
05 Nov 575.0 (OEB KO-E),0.05,-0.10,0,0.05,23911,32185,05 Nov 575.0 (OEB WO-E),0.30,-3.70,0.30,0.35,12116,1714
05 Nov 580.0 (OEB KP-E),0.05,--,0,0.05,1177,15520,05 Nov 580.0 (OEB WP-E),8.00,-1.10,5.20,5.40,127,300
05 Dec 570.0 (OEB LN-E),8.80,+1.70,8.80,9.10,4482,5083,05 Dec 570.0 (OEB XN-E),3.70,-1.50,3.70,4.10,4259,3658
05 Dec 575.0 (OEB LO-E),5.60,+1.20,5.60,5.90,4581,5895,05 Dec 575.0 (OEB XO-E),5.90,-1.80,5.70,5.90,1647,184
05 Dec 580.0 (OEB LP-E),3.20,+0.90,3.10,3.30,5500,10710,05 Dec 580.0 (OEB XP-E),8.70,-2.90,8.20,8.70,268,1384
Thanks,
LEOUgh! I'm trying to load some Options data (Calls and Puts) which is a single csv record with both Calls and Puts and a Change (% Change is price) field which contains 'pc', '--', or a number.
I've tried multiple NULLIF conditions to set the 'pc' and '--' to null while retaining the Change value. I've tried WHEN statements to test for each 'pc', '--', and Change values. How should this be coded?
In addition, the record has two segments (Calls and Puts), how should the INTO table and WHEN be coded to insert two rows for each record?
Control file....
options (skip=3)
load data
infile 'OEX18Nov05.csv' "str '\r\n'" replace
into table OEX_Options
when (change='pc')
fields terminated by ',' optionally enclosed by '"'
(class char,
last char,
change char nullif (change='pc'),
bid char,
ask char,
volume char,
openinterest char)
into table OEX_Options
when (change='pc')
(class char,
last char,
change char nullif (change='--'),
bid char,
ask char,
volume char,
openinterest char)
into table OEX_Options
when (change<>'pc') and (change<>'--')
(class char,
last char,
change char,
bid char,
ask char,
volume char,
openinterest char)
... repeat above for second part of the record?
.OEX (CBOE),574.69,+3.52
Nov 18 2005 @ 17:44 ET (Data 15 Minutes Delayed)
Calls,Last Sale,Net,Bid,Ask,Vol,Open Int,Puts,Last Sale,Net,Bid,Ask,Vol,Open Int
05 Nov 400.0 (OXB KT-E),0,pc,174.40,174.60,0,0,05 Nov 400.0 (OXB WT-E),0.05,pc,0,0.05,0,1000
05 Nov 420.0 (OXB KD-E),0,pc,154.40,154.60,0,0,05 Nov 420.0 (OXB WD-E),0.05,pc,0,0.05,0,1680
05 Nov 440.0 (OXB KH-E),0,pc,134.40,134.60,0,0,05 Nov 440.0 (OXB WH-E),0.05,pc,0,0.05,0,6683
05 Nov 575.0 (OEB KO-E),0.05,-0.10,0,0.05,23911,32185,05 Nov 575.0 (OEB WO-E),0.30,-3.70,0.30,0.35,12116,1714
05 Nov 580.0 (OEB KP-E),0.05,--,0,0.05,1177,15520,05 Nov 580.0 (OEB WP-E),8.00,-1.10,5.20,5.40,127,300
05 Dec 570.0 (OEB LN-E),8.80,+1.70,8.80,9.10,4482,5083,05 Dec 570.0 (OEB XN-E),3.70,-1.50,3.70,4.10,4259,3658
05 Dec 575.0 (OEB LO-E),5.60,+1.20,5.60,5.90,4581,5895,05 Dec 575.0 (OEB XO-E),5.90,-1.80,5.70,5.90,1647,184
05 Dec 580.0 (OEB LP-E),3.20,+0.90,3.10,3.30,5500,10710,05 Dec 580.0 (OEB XP-E),8.70,-2.90,8.20,8.70,268,1384
Thanks,
LEO -
FTP adapter Batching is not inserting records in to multiple tables
Hi,
Env : 11.1.1.5
We have a scenario where we are reading file with the FTP adapter. As the file can be huge, we are using batching option with a batch size of 2000 records. The records in the file is in the Order and Lines format. In Bpel i am inserting those records in database. I have one Db adapter having two tables Orders and lines with a 1:M relation.
Now in the positive test case scenario, Bpel is able to read the file , split it in to batches and successfully inserts the records in the tables (Orders and Lines).
Now when i am testing a negative test case, i have violated the Primary key constraint in one of the record. Now ideally the batch which encountered the issue and failed, none of the records should get inserted in the Orders and Lines table, but that is not happening. In our case, no records are getting inserted to the lines table (which is as expected) but few records are getting inserted in to the Order table of the failed batch.
F.Y.I : Number of Records in the batch can be less then Batch Size.
Any clue on this?
Thanks.Hi Jaap,
thanks for your reply...
Sorry for being a little unclear ...
I have followed the instrunctions in the on-line help of OWB , and :
1) have imported four code tables into a source module . The tables are in an Oracle RDBMS 10g .
2)I have created manually a table - using the OWB client tool - which consisted of some of the columns found in the four tables .
3)I have inserted a Join Operator in order to correlate the four table columns with the columns of the target module.
4)I have defined the Join condition of the the four table columns. In my first post , unintenionally I have written that I removed the Join Operator. I meant the Join Condition in order to make sure that the join condition isn't the reason that the records are not inserted....
5)I have validated and generated the mapping without any errors - not even warnings.
6)I have selected Project->Deployment Manager and I selected the OWB_RUN user - which is the Runtime Repository owner.
7)I have selected the objects to deploy - the mapping , the one table I created in the target module. The deployment has succedded , and the table was created but no records are found in it.
Now , is there a possibility that this problem is caused by absence of the privileges to insert the rows...?
How can I check that the source tables are filled on the registered location of your source module?
Another basic question...
I have created a Runtime Repository owner - called owb_run- using the Runtime Repository Assistant . I use this user in order to deploy the mapping and the new table. I want -and it is created- that table in another schema (user his_dw) - even another database in the same server. Should I run the Runtime Repository owner in this schema (his_dw)???
Thanks , again a lot
Simon -
Panel Object xy coordinates and Multiple window list in task bar
Two questions...
I recently had to rearange panel objects to programatically display them. They were not at the origin, and had to futz them into
position.
Is the first object placed, placed at the origin?
Could the guys at NI provide an xy indicator?
And second,
I built my application, but in the task bar there is a listing for the app, then another listing for the window name. How can I
clean this up?
XP
LV 6.1
CheersMartin,
As far as question 1:
There are 2 different �origins� when speaking about the front panel. There is the 0,0 position that is global to all controls and indicators on it. This origin is a location that does not change. In LabVIEW 7.0 if you have the grids turned on you can see this location as a slightly darker line on the grid and a gray dot. You can reference a controls relative position to this origin by using the "Position" Properties.
There is then the �Origin� property of a front panel. This origin refers to what part of the front panel is viewable. The �Origin� in this sense is what location, referenced to the first position, is at the top left corner of the front panel screen.
Take a look at the attached screen shot.
So if you a
re programmatically moving objects around you need to be aware of both. If you move the scrollbars of the front panel, the �origin� changes. However the positions of all the objects do not.
If you have any questions about this description let me know. The difference between the 2 origins is subtle.
Evan
National Instruments
Attachments:
temp.jpg 56 KB -
Add date stamp to insert record
This should be easy. I would think it's a standard procedure but 5 hours of searching the net, the forums, and experimenting has left me with a loss.
I've created a simple form with 3 fields, firstName, lastName, eMail
I've created a SQL database and table with the fields id, date, firstName, LastName, eMail
The id is an int and the primary key, date is set to datetime the rest are varchar
I've created a successful Insert Record behavior and now all I want to do is to update the date field with the datetime value when the record is added.
Things I've tried include a java script to create a date variable, SQL NOW in various forms, a ton of other complex solutions. I've added hidden fields to the form, which got me the closest when I manually entered a value in the same format that I see in the SQL table when I add a row to the table from the PHP admin page.
Please tell me this is not going to require 30 lines of code and another half day of fussing around.Hi Rick,
Please tell me this is not going to require 30 lines of code and another half day of fussing around.
with ADDT it´s pretty easy: just make sure that your datetime column gets ADDT´s "datetime" placeholder {NOW_DT} inserted as "entered value":
Open the Insert Record Transaction dialog box, select the date column and define these settings:
- Submit as: Date
- Get value from: Entered Value
- Value: {NOW_DT}
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Insert Record and Redirect Data
I have a website where we are adding articles to categories.
I need to be able to have a user add an article and then have the
option to add that same article into another category.
I'm using the INSERT RECORD behavior now but I'm looking for
an extension that will INSERT RECORD plus redirect the record/data
to another page so the user can add it to another category.I found this in the upload scripts read me file:
The clsUpload object contains public functions and methods
which enable you to upload and save files to a web server using
pure VBScript.
Read only
Data Type: Dictionary Collection
Syntax: object.Form
Returns a Forms collection consisting of all the Form objects
parsed from the HTTP header.
This collection contains all the HTML form elements which are
not "Files"
This collection should be used instead of the typical
"request.form" method to access data from the other form elements
(if you decide to combine "file" upload elements with other form
element types, like checkboxes, text boxes, drop-down lists,
textareas). Why? Because the form data is posted using
"multipart/form-data" encoding (and needs to be retrieved like
binary data instead of text data) and therefore the typical
"request.form" method isn't effective.
I changed request.form to clsUpload.form but it still did not
work. -
Hello
How do I insert a record with the image filename into a database, then send the data just entered as an email?
I was able to do this before but now this new CS3 seems so complicated!
I am unable to just use an insert record behavior then add form fields and change the insert or update recored behavior like before.
Please can I be shown some actual working tutorials on this?
This search function on this forum does not work as I tried to search for this exact statement "insert record and email" and no records appear.
CheersOk, here is the entire page:
<br />
<br /><?php require_once('Connections/cnreviva.php'); ?>
<br /><?php<br />// Load the common classes<br />require_once('includes/common/KT_common.php');<br /><br />// Load the tNG classes<br />require_once('includes/tng/tNG.inc.php');<br /><br />// Make a transaction dispatcher instance<br />$tNGs = new tNG_dispatcher("");<br /><br />// Make unified connection variable<br />$conn_cnreviva = new KT_connection($cnreviva, $database_cnreviva);<br /><br />$editFormAction = $_SERVER['PHP_SELF'];<br />if (isset($_SERVER['QUERY_STRING'])) {<br /> $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);<br />}<br /><br />// *** Mail form as Text format ***<br />if (isset($_POST["FX_sendForm"]) && $_POST["FX_sendForm"] == "frmupload") {<br /> $format = strtolower("Text");<br /> if ($format != "html") $format = "plain";<br /> $filefield = "uploadfile";<br /> $top = "\r\n";<br /> $body = "\r\n";<br /> $excludeArray = array("button","button_x","button_y","uploadfile","FX_sendForm","MM_insert","MM_update"); <br /> $i = 0;<br /> while ($i<sizeof($_POST)) {<br /> if (!in_array(key($_POST),$excludeArray)) {<br /> if (is_array(pos($_POST))) {<br /> $postVar = implode(", ", pos($_POST));<br /> } else {<br /> $postVar = pos($_POST);<br /> } <br /> $body .= strtoupper(key($_POST)) . ": " . stripslashes($postVar) . "\r\n";<br /> }<br /> $i++;<br /> Next($_POST);<br /> } <br /> $bottom = "\r\n";<br /> $from = $_POST["email"];<br /> // set parameters<br /> $recipient = "[email protected]";<br /> $subject = "Test";<br /> $message = $top . $body . $bottom;<br /> // set extra parameters<br /> $headers = "From:" . $from . "\r\n";<br /> $headers .= "Cc:\r\n";<br /> $headers .= "Bcc:\r\n";<br /> require_once("FXInc/FX_mailForm_php.inc");<br /> // send all<br /> mail($recipient, $subject, $message, $headers);<br /> $body = urlencode(str_replace("\r\n", "<br>", $body));<br /> $redirect = "thankyou.php";<br /> if ($redirect) header("Location: " . $redirect);<br />}<br /><br />// Make an insert transaction instance<br />$ins_tblfeedback = new tNG_insert($conn_cnreviva);<br />$tNGs->addTransaction($ins_tblfeedback);<br />// Register triggers<br />$ins_tblfeedback->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");<br />$ins_tblfeedback->registerTrigger("END", "Trigger_Default_Redirect", 99, "thankyou.php");<br />// Add columns<br />$ins_tblfeedback->setTable("tblfeedback");<br />$ins_tblfeedback->addColumn("name", "STRING_TYPE", "POST", "");<br />$ins_tblfeedback->addColumn("email", "STRING_TYPE", "POST", "");<br />$ins_tblfeedback->addColumn("city", "STRING_TYPE", "POST", "");<br />$ins_tblfeedback->addColumn("country", "STRING_TYPE", "POST", "");<br />$ins_tblfeedback->addColumn("shoe_size", "STRING_TYPE", "POST", "");<br />$ins_tblfeedback->addColumn("feedback", "STRING_TYPE", "POST", "");<br />$ins_tblfeedback->addColumn("activate", "STRING_TYPE", "POST", "", "N");<br />$ins_tblfeedback->addColumn("photo", "FILE_TYPE", "FILES", "uploadfile", "");<br />$ins_tblfeedback->setPrimaryKey("id", "NUMERIC_TYPE");<br /><br />// Execute all the registered transactions<br />$tNGs->executeTransactions();<br /><br />// Get the transaction recordset<br />$rstblfeedback = $tNGs->getRecordset("tblfeedback");<br />$row_rstblfeedback = mysql_fetch_assoc($rstblfeedback);<br />$totalRows_rstblfeedback = mysql_num_rows($rstblfeedback);<br />?>
<br />
<br />
<br />
<br />
<br />
<br />
<script src="includes/common/js/base.js" type="text/javascript"></script>
<br />
<script src="includes/common/js/utility.js" type="text/javascript"></script>
<br />
<script src="includes/skins/style.js" type="text/javascript"></script>
<br />
<br />
<br />
<br />
<form action="%3C?php%20echo%20$editFormAction;%20?%3E" method="post" name="frmupload" id="frmupload">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table width="300" border="0" cellspacing="0" cellpadding="5">
<tr>
<td>Name
<br />
<br />
<input type="text" name="name" id="name" length="20" value="" /></td>
</tr>
<tr>
<td>Email
<br />
<br />
<input type="text" name="email" id="email" length="20" value="" /></td>
</tr>
<tr>
<td>City
<br />
<br />
<input type="text" name="city" id="city" length="20" value="" /></td>
</tr>
<tr>
<td>Country
<br />
<br />
<input type="text" name="country" id="country" length="20" value="" /></td>
</tr>
<tr>
<td>Image
<br />
<br />
<input name="uploadfile" type="file" id="uploadfile" /></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<?php<br /> echo $tNGs->getErrorMsg();<br />?>
<input type="submit" name="button" id="button" value="Submit" />
</td>
</tr>
</table>
<br />
<input type="hidden" name="FX_sendForm" value="frmupload" />
<br /></form>
<br />
<p> </p>
<br />
<br /> -
Built in Record Behaviors & Added Blank Lines
Mac OS 10.4.7 // DW 8.0.2
ASP VBScript
Bug Encountered: When using the built-in Insert Record the
code view inserts MANY thousands of blank code lines between each
ASP line of code. It can go from only a dozen to
thousands of blank lines of code. How can I remove all of
these extra lines without having to manually remove every line on
every insert record behavior that I use?go to link:
http://www.massimocorner.com/
Look for Dreamwever> Productivity and get the Format
Source 1.1 extension.
Install and apply it.
"Digital Muse" <[email protected]> schrieb
im Newsbeitrag
news:ed48a0$rge$[email protected]..
> Mac OS 10.4.7 // DW 8.0.2
> ASP VBScript
> Bug Encountered: When using the built-in Insert Record
the code view
> inserts
> MANY MANY blank code lines between each ASP line of
code. It can go from
> only
> a dozen to well over 20, up to 30-ish blank lines of
code. How can I
> remove
> these extra lines without having to manually remove
every line on every
> insert
> record behavior that I use.
>
> Regards,
> Monica Knutson
> Creative Director
> Digital Design Services, Inc.
> -
Problems with Update Record behavior
I am sorry to ask this question again since I have not resolved the issue yet.
When I am using the Dreamweaver Update Record behavior, I am not able to get the form validation to work. I implemented the form validation by inserting onsubmit="return someFormValidation(this);" into the update form created by Dreamweaver.
When I hit the submit button the JavaScript validation function is not even invoked.
However when I use the same method for form validation with Insert Record behavior I have no problems. Is this difference I am observing between the Insert and Update behaviors the way Dreamweaver supposed to work? If yes how can I do my form validation during an Update Record?
Note that the pages involved are all php pages, therefore we are talking about server side validation here.
If anyone can help I will be grateful as I am really stuck...I am closing this even though I got no answers as the weird behaviour has disappeared....
-
Allowing a zero as the first digit in an insert record form field
I have a form that has an insert record behavior applied to
it. I would like to be able to put a number into one of the form
fields that begins with the letter zero (i.e. 010507). The trouble
is that when I insert any number beginning with a zero, the first
zero in the number gets dropped when it is entered into the
database. This occured even when I tried changing the field type
from number to text in Access.Oh, I failed to change the field type to "text" in the insert
record dialogue box as well.
Maybe you are looking for
-
I was in ITunes, in my Podcasts list. I hit the icon (semicircle, with an arrow pointing clockwise) and all my podcasts were deleted. They were also deleted from my IPod. The podcasts were from 2010 and are no longer available in ITunes. Is there
-
How do I download Lightroom from a cd to an iMac with no cd drive
i bought Lightroom 5 last year and am now upgrading to an iMac, so here's my question: can I get lightroom on my iMac from my already purchased cd When my iMac has no cd drive on it? Thank you for any help in this issue!
-
Can't convert a TIF image to Adobe
-
How to add project to website?
I finished my project in the Beta 2 version, but can't find any tutorials on how to actually add it to my website...? Can someone please explain the difference between the "deploy to web" and "run-local" folders (when to use either, or), and also tel
-
Installing Creative Webcam?
I've just bought a Mac mini and am struggling to set-up my Creative Wecam Live! which is not configured for OS X. Is there any other solution than buying another webcam? Mac mini Mac OS X (10.4.7)