close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multiple update not working

Thread began 3/15/2013 2:32 am by Sweens | Last modified 3/15/2013 8:32 am by Sweens | 709 views | 2 replies |

Sweens

multiple update not working

Hi

I've put a simple multiple update on the attached page - but it doesn't work properly.

Having created a new page, that page title appears on the attached; I can add a 'sort order' number, update the page and that works.

However, if I try to change any of the existing values to alter the sort order - it doesn't work!

Anything obvious?

Cheers
Chris

Sign in to reply to this post

Jason ByrnesWebAssist

the if statement that you have around the form elements:

php:
<?php /*START_PHP_SIRFCIT*/ if ($row_rsPages['pg_id']<>"1"){ ?>

          <input type="hidden" name="WADA_RepeatID_pg_id_<?php echo $RepeatSelectionCounter_1?>" id="WADA_RepeatID_pg_id_<?php echo $RepeatSelectionCounter_1?>" value="<?php echo $row_rsPages["pg_id"]; ?>" />
          <input name="txtSortOrder_<?php echo $RepeatSelectionCounter_1?>" type="text" id="txtSortOrder_<?php echo $RepeatSelectionCounter_1?>" value="<?php echo $row_rsPages['pg_sortorder']; ?>" size="3" />
          <?php /*END_PHP_SIRFCIT*/ ?>




should go around the entire repeat region, it is probably causing the indexes being written by the $RepeatSelectionCounter_1 to be out of synch thus causing the update to fail.

Sign in to reply to this post

Sweens

Thanks Jason - I've removed the 'show if' and it now works.

I wanted to hide the field for the home page record so it couldn't be altered - but actually, it doesn't matter because that page is ignored in the menus anyway!

Thanks again for your help

Cheers

Chris

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