close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Insert Record not Working

Thread began 7/17/2014 8:45 am by Mike Perry | Last modified 7/17/2014 11:57 am by Jason Byrnes | 695 views | 5 replies |

Mike Perry

Insert Record not Working

Latest Version Data Assist.

Insert Record Behavior is not working. Connection to database is good.

Page attached -- thanks.

Attached Files
connect.zip
Sign in to reply to this post

Jason ByrnesWebAssist

1) move the following code from line 21 - 22 to line 1:

<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>



2) The forms action is set to post to another page:

<form class="Incite14_ContactForm" id="ContactForm_Incite14_ContactForm" name="ContactForm_Incite14_ContactForm" method="post" action="contactadded.php">



action="contactadded.php"

rule 1 when working with forms:
all form processing must occur on the action page.

set the form action to post to itself, then in the insert, set the redirect to go to the contactadded page after the isnert is done.

Sign in to reply to this post

Mike Perry

Got it -- thanks.

Is there anything that can be done to address wizards placing php code in the proper sequence? This has happened to me a number of times, where dependent files are included after the code that depends on them.

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

We would need to be able to reproduce the problem in order to fix it.

I have tried to find the steps that would reproduce having the code placed in the wrong order, but have not been able to. If we could identify the circumstances that the problem occurs in, we could find and fix the problem, but without being able to reproduce, it is very difficult to fix. I'll keep my eye out and if I can identify the steps to reproduce, i will log a bug.

Sign in to reply to this post

Mike Perry

If I set it again I'll try to record the process for you. . .

Sign in to reply to this post

Jason ByrnesWebAssist

thanks, that would be a big help.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...