close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Two Forms on One Page

Thread began 6/08/2011 10:21 pm by pete | Last modified 6/17/2011 9:56 am by pete | 6043 views | 12 replies

Jason ByrnesWebAssist

the reality is: what you re trying to accomplish is not supported by Contact form solution pack.

it takes a good understanding of the PHP code on the page to be successful.

the big issue i see on the page right now, is that you have not implemented the suggestion I made initially.

there are 2 groups of the validation / email server behaviors on the page. the first validation server behavior is at lines 11 - 30. the trigger code is still set to use the any form post trigger:
if ($_SERVER["REQUEST_METHOD"] == "POST") {

instead of the button submit trigger:
if ((isset($_POST["Submit"]))) {

the first universal email behavior is at lines 31 - 42. It is also still using the current page submit trigger instead of the button pressed trigger.


line 43 - 60 is the second server validation behavior still using the current page submit trigger code

the only block using the trigger code change i suggested is line 61 - 72.


you need to change the trigger code for each of those server behaviors to occur on the appropriate button press.

another issue is that you will not be able to use captcha security on both forms, it can only be used on one of them.

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