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

Errors While Saving Forms

Thread began 9/09/2013 9:17 pm by derekmparker375520 | Last modified 9/12/2013 12:55 pm by Jason Byrnes | 1030 views | 11 replies |

derekmparker375520

Errors While Saving Forms

After building a form, I save the contents and the design as presets and everything seems to work fine. If I need to make changes to the form, I do so and overwrite the presets and everything still works fine. But if I change the form more than 2 or 3 times, I start to get the attached error message (Error_When_Saving_Form.png). If I try to open the form after that, I get another error message (Error_When_Opening_Form.png). Then after closing out the page, I get yet another error message when opening the page itself (Error_When_Opening_Page.png). I have the .js file that the error message is referring to as well as the php page that the form is located on.

Any help you can give me would be great.

Sign in to reply to this post

Jason ByrnesWebAssist

What version of Data Bridge are you using?

Make sure you have the latest version installed, version 1.1.4. if you have a previous version, make sure to uninstall it from the extension manger before installing the newer one.

the middle error will happen if you edit the form and remove a element that had validation, you can either ignore the error error, or let DW Search for the spry reference and delete it.

Sign in to reply to this post

derekmparker375520

Good call, I had 1.1.3. I updated to 1.1.4 and it seems to have corrected it. Only now when I press submit it doesn't do anything. I have the page attached.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

derekmparker375520

Thanks, it's in the private message.

Sign in to reply to this post

Jason ByrnesWebAssist

see pm

Sign in to reply to this post

derekmparker375520

Sorry about that, see below.

Sign in to reply to this post

Jason ByrnesWebAssist

the spry validation for the company field was set to use the email format:
var Company_Spry = new Spry.Widget.ValidationTextField("Company_Spry", "email",{validateOn:["blur"]});

i edited that to no format:
var Company_Spry = new Spry.Widget.ValidationTextField("Company_Spry", "none",{validateOn:["blur"]});

also, in the server validation, the captcha validation was set to use the wrong session variable:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security"])?$_POST["Security"]:"")) . "",((isset($_SESSION["captcha_Security"]))?strtolower($_SESSION["captcha_Security"]):"") . "",true,8);


I edited that to use the correct one:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security"])?$_POST["Security"]:"")) . "",((isset($_SESSION["captcha_Security_2"]))?strtolower($_SESSION["captcha_Security_2"]):"") . "",true,8);

Sign in to reply to this post

derekmparker375520

You're the man, it works perfectly. I'm having the same issue with another site so I'm assuming it's the same sort of thing. Is there a way to easily search for it? I tried inserting the code that I've found on the forums used to find which validations are failing but that didn't do it.

Sign in to reply to this post

Jason ByrnesWebAssist

send me the details for that page, and i'll look into it.

Sign in to reply to this post
loading

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