close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DA Javascript error

Thread began 3/05/2012 7:22 pm by ccooper309155 | Last modified 3/07/2012 12:22 pm by Jason Byrnes | 766 views | 5 replies |

ccooper309155

DA Javascript error

When trying to add an Insert Multiple Records behavior, this message comes up in a pop-up dialog:

"While executing applyServBehavior in WADA_MultiInsert.htm, a Javascript error occurred."

I've alread tried deleteing the notorious config file so it's not that.

Why would this error happen?

Using the latest DA.

Sign in to reply to this post

Jason ByrnesWebAssist

when creating the page, try using the data assist repeat selection behavior for the repeating elements instead of the Dreamweaver Repeat region behavior.

Sign in to reply to this post

ccooper309155

Thanks -- that solved the javascript error.

However, it turns out that no records are being inserted.

Instead, the following page winds up with a long string in the address bar listing all the stuff that should have been written into the database.

Sign in to reply to this post

Jason ByrnesWebAssist

sounds like the form was created using the get method instead of post.

change the forms action to post and that should solve the problem.

Sign in to reply to this post

ccooper309155

Thanks, Jason - that did it.

The form was set to Dreamweaver's 'Default' which I thought was Post but guess now that it isn't!

Sign in to reply to this post

Jason ByrnesWebAssist

using the default leaves the action blank.

the default action of a form tag is to use GET


this is a throw back to earlier version of HTML that did not have a method attribute. for example in HTML 2 to use the POST method you would add it to the action:
<FORM NAME="form1" ACTION="POST http://mydomain.com/page.html">

If you just added the page address to the action:
<FORM NAME="form1" ACTION="http://mydomain.com/page.html">

it would use the GET method.

I believe it was HTML 3 that introduced the method attribute for the form.

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