close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multipple update not working

Thread began 2/28/2013 4:07 am by Sweens | Last modified 2/28/2013 7:06 am by Sweens | 738 views | 2 replies |

Sweens

multipple update not working

Hi

On the attached update page, I have 3 tabbed panels, the third of which enables the user to upload images and then displays previously uploaded images that will be used in a 'slideshow'.

I want to the user to be able to update any of the descriptive text of the images (title, alt text) and to change the order in which they're displayed (numeric entry in the field). However, I can't get the 'update multiple records' thing to work! I have removed it, re-applied it and played with it countless times, to no avail.

Can anyone spot something obvious? Are there too many other things happening on that page (in other tabs) that in some way are preventing this working?

Many thanks
Chris

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

Jason ByrnesWebAssist

one of the values you are using in the multiple update is the pg_id column of the WADApage_content recordset.

the WADApage_content recordset uses the pg URL Variable for filtering. When the page first loads, that variable is present, but your forms action does not send that variable when you post the form. when the form is posted, that recordset is recreated, and since the pg URL Variable no longer exists, the recordset is empty.

use the following code for the form action so that it will retain any url variables passed in:

php:
 action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != ""?"?".htmlentities($_SERVER["QUERY_STRING"], ENT_QUOTES):""); ?>"
Sign in to reply to this post

Sweens

Thanks Jason - works a treat now!

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