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

Framework form doesn't submit, only redirects

Thread began 5/27/2011 5:13 pm by koerbcm | Last modified 5/31/2011 2:01 pm by Jason Byrnes | 1247 views | 5 replies |

koerbcm

Framework form doesn't submit, only redirects

I have 3 framework forms for one contact page. The contact form works correctly, however, the rental inquiry, when submitted, it reloads the page and brings up the contact form and does not send the form via email. I am not sure what I am doing wrong. The files are attached.

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

Jason ByrnesWebAssist

the rental form requires the form querystring to load, that querystring needs to be included in the forms action so that when the form posts, it will post to the correct plugin page.


the forms action needs to pass the querysting, change:

php:
<form class="Cool_Default" id="RentalInquiry_Cool_Default" name="RentalInquiry_Cool_Default" method="post"  action="<?php echo $_SERVER["PHP_SELF"]; ?>">



to:

php:
<form class="Cool_Default" id="RentalInquiry_Cool_Default" name="RentalInquiry_Cool_Default" method="post"  action="<?php echo htmlentities($_SERVER["PHP_SELF"]); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".htmlentities($_SERVER["QUERY_STRING"]):""?>">
Sign in to reply to this post

koerbcm

That worked. Not sure why this page had to be different than the other page like it, but your solution worked. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

any time you are dealing with a dynamic plugin page, your form must pass the variable used to load that plugin page.

the contact form worked because it was the default plugin page and is loaded when the variable is not set.

Sign in to reply to this post

koerbcm

So would this problem also affect why my google map plug in will not show the ending address until you submit a starting address?

Sign in to reply to this post

Jason ByrnesWebAssist

nope, that would be a different problem all together.

please send a link where i can see the problem to investigate the cause.

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