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

rating

Insert Form, File Upload, Server Validation, Confirmation Page - what is the correct order for this process?

Thread began 4/23/2015 2:03 pm by Nathon Jones Web Design | Last modified 4/23/2015 5:10 pm by Ray Borduin | 281 views | 1 replies |

Nathon Jones Web Design

Insert Form, File Upload, Server Validation, Confirmation Page - what is the correct order for this process?

My scenario...

1) An Insert Form (to database) with an image field
2) A confirmation page with WA Server Validation on it redirecting back to the Insert Form if there's a problem

I just can't get this to work. :(

It occurred to me that doing the validation AFTER the Insert was non-sensical however when I move the validation to the actual Insert Form page I get browser errors - "The page isn't redirecting properly" in Firefox, "This web page has a redirect loop - ERR_TOO_MANY_REDIRECTS" in Chrome and "Page cannot be displayed" in IE.

Here's the page:
http://www.nathonjones.com/templates/addnewsPHP/admin/addnews.php

The File Manipulation > Upload Files behaviour STILL inserts after the INSERT code, which I thought was fixed.

Hope you can help.
Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

Server Validation, File Upload, and Insert Record server behaviors must all be applied to the same page, in that order, and that page should be the action page of the form.

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