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

redirecting form on success

Thread began 5/13/2019 10:41 am by Jamie | Last modified 5/16/2019 2:53 pm by Ray Borduin | 28 views | 8 replies |

Jamie

redirecting form on success

Hi Ray

Have got a contact form on every page of a site which on success should append to the page so that it uses the anchor link and also displays the success message

For some reason it doesnt do that, it redirects to itself but does not append the slug as above.

Am adding the form and relevant UE code as plugins and have attached the 2 main ones.

Cheers

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

It looks like it would work to me. I'd have to debug it live... maybe a .htaccess rule is removing it? Maybe something else on the page is causing issues? What URL can I use to test with? Do I already have FTP access?

Sign in to reply to this post

Jamie

Ahhhhh you are of course right. I checked on a non homepage instance and it works fine. The htaccess is set to remove index.php

#RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
#RewriteCond %{REQUEST_URI} !/system/.* [NC]
#RewriteCond %{REQUEST_URI} !/kcfinder/.* [NC]
#RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]



How would I modify it to allow for the for submission?

Sign in to reply to this post

Ray BorduinWebAssist

I don't think that is the rule causing issues. You are using the URI for the redirect, so the redirect shouldn't add index.php, so it wouldn't be removed. If you remove that htaccess rule then it works? Might it be something else on the home page?

Sign in to reply to this post

Jamie

Oh OK. Details in PM

Sign in to reply to this post

Ray BorduinWebAssist

I can't seem to get in via FTP. Please check the settings and make sure there are no typos.

Sign in to reply to this post

Jamie

see PM

Sign in to reply to this post

Ray BorduinWebAssist

You had an older version of WA_Email.php on the site. Updating to the latest version fixed this issue.

Sign in to reply to this post

Jamie

cheers :)

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