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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Losing information when validation fails

Thread began 4/11/2011 3:03 pm by phebberd116714 | Last modified 4/12/2011 9:46 am by Jason Byrnes | 653 views | 2 replies |

phebberd116714

Losing information when validation fails

With the help of WebAssist extension and great responses from the forum I have been able to create a completely dynamic site and pretty comprehensive CMS backend. I am just one possibly 2 pages from completion.

The problem I am up against is for my Gallery administration section.

There are 2 table in the database: gallery (which holds basic details about the gallery name) and photos ( holds the photo information with a foreign key to the gallery:galleryID_id)

On the admin pages the user creates a gallery, then adds photos to the gallery.
Everything works except when validation fails. Then the information in the photo insert form (galleryID and galleryID_id) are lost.

I have attached screen shots of the pages.

I tried to keep the info by using a session but couldn't get it to work.
Does anyone have any ideas?
I will add another post with the actual pages.

Sign in to reply to this post

phebberd116714

Page files

Attached are the page files mentioned in my post.

Attached Files
gallery_Results.php.zip
photos_Insert.php.zip
photos_Results.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Select each of the form elements. In the Property inspector, click the lightning bolt next to initial value and select the corresponding item from the validated entries collection in the dynamic data bindings.

In the case of checkboxes, you need to click the dynamic button in the Property inspector. click the lightning bolt next to Check If and select the corresponding item from the validated entries collection, then enter the checked value of the check box as the Equal To value.

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