Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

# replaced by %23 with WA Server Validation redirect to anchor on page

Thread began 4/22/2012 8:45 pm by Dennis | Last modified 5/13/2012 9:24 pm by Dennis | 957 views | 6 replies |

Dennis

# replaced by %23 with WA Server Validation redirect to anchor on page

Hi,

I have a WA Server Validation for the WA Captcha at the bottom of a long page. I append the id of an anchor to the filename in the WA Server Validation wizard. When the validation fails, the redirected page gets a 404 error. The address of the failing page has %23 where the # should be. Example...
Redirect in Server Validation wizard: National_Specialty_Volunteers.php#vform
Address displayed by my 404 error page: National_Specialty_Volunteers.php%23vform.

I have tested it and it also fails without the imported Excel table and associated styles.

Attached is my page.

Thanks,
Dennis

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

Jason ByrnesWebAssist

in the webassist/form_validations/wavt_scripts_php.php file, change:

header("Location: ". $thePostURL);



to:

$thePostURL = str_replace("%23","#",$thePostURL);
header("Location: ". $thePostURL);
Sign in to reply to this post

Dennis

Thanks Jason,

Will this get logged & fixed in the next release?

Dennis

Sign in to reply to this post

john70964

I think I have something similar.

On my page the captcha "validation show if" is placed low down on the page but when the validation fails the top of of the page shows.

It is not obvious that the send has failed.

I tried to extend the page name with the anchor tag "#valid" but the page was not then recognised.

Is there a method for this please?
Thanks
John

Sign in to reply to this post

Dennis

Hi John,

I'm just a rookie at this but I will tell you what worked for me. Maybe it will work for you also.

I created an anchor just above my captcha area using your example: <a id="valid"></a>

Then double click on the WA Server Validations in the Server Behaviors panel to reopen the Server Validations: Insert window, at the bottom for Failed redirect: I entered: mypagename.php#valid this is the name of the page with the validations.

You also have to make the modifications suggested by Jason above. For me this code was at line 83

Dennis

Sign in to reply to this post

john70964

Thanks Dennis
Worked a treat!

Regards

John

Sign in to reply to this post

Dennis

John,

Great, I'm glad you got it working.

Dennis

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