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

Why am I having a problem adding two forms to the same page adding them as plugins using Framework builder.

Thread began 11/03/2016 12:28 pm by russb335115 | Last modified 11/08/2016 5:29 pm by Ray Borduin | 332 views | 10 replies |

russb335115

Why am I having a problem adding two forms to the same page adding them as plugins using Framework builder.

I have a two forms a one page. Both are added using Framework builder plugins. The first form works perfect when I us it as a stand alone page. However, once I add it to the template page as a plugin all the validate fields show the validate error message as well as the submit button. Then I add the second form at the bottom of the page the same way. On this form the security question doesn't show up. However, the field to answer the question does. This second form is working great when added the same way on the other pages. I'm lost to what is going on. See PM

Sign in to reply to this post

Ray BorduinWebAssist

Interesting... Can I get FTP access to the site to debug? I'm sure I can figure it out for you.

Sign in to reply to this post

russb335115

See PM

Sign in to reply to this post

Ray BorduinWebAssist

The default code uses require_once() to include the security question. That will only add it once... I changed it to require() and that worked to show the question, but it shows the same question twice which looked odd to me.

So I updated the include file for the security question to allow you to set a version and have more than one version on a page. Then I updated both of your plugins to set the different versions and refer to the correct session variables.

It should be working now. Please download your plugin files and the wavt_captchasecurityquestion.php file to make sure you have my updates.

Sign in to reply to this post

russb335115

Thanks, that fixed the issue with the security questions. However, the forms are still not submitting. When you file out the forms on the top you still get the error fields hoping up even before you push the select button. Try to fill out the top form and you will see what I mean.

Like I mentioned earlier. the forms work great separately but when put together on this page they do not. See PM.

Sign in to reply to this post

Ray BorduinWebAssist

You have an older version of the jquery library included on your template page, which was being added after the jquery library added by the plugins and causing conflicts.

I resolved the problem by moving the older library file above the theme and plugin scripts on the template page.

Sign in to reply to this post

russb335115

Okay so it looks like the form is excepting the information. However, when I push the submit button it shows the validation error in the answer box. I also noticed that if I'm filling in the top form and hit the "tab" key it moves to the second form.

Also, I did download all the files from the server to my desktop before view the page.

Sign in to reply to this post

Ray BorduinWebAssist

You can fix the tab problem by setting the tabindex attribute for the fields. Just leave the top form tabindex values as 1,2,3,4 and update the bottom fields to use 11,12,13,14,15

I've gone ahead and made that update for you. The validation was failing because of a typo in the update I did for you on the wavt_captchasecurityquestion.php page. I've fixed that as well.

Sign in to reply to this post

russb335115

Ok, so fixing the forms seems to have cause a different problem. My navigation on the mobil version (phone) no longer works. Here's what I discovered. (see PM)

Sign in to reply to this post

Ray BorduinWebAssist

You have an older version of modernizr on the template. I updated to v3.1.3 and that seems to resolve the problem.

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