close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multiple insert issues

Thread began 11/06/2018 4:03 am by georgina_barrett_187762 | Last modified 11/15/2018 5:34 am by Ray Borduin | 661 views | 5 replies |

georgina_barrett_187762

multiple insert issues

I am trying to create a multiple insert using the new server behaviors. I have created an recordset and added the variables to the page (within a form) I have tried using the MySQLi > Repeat Selection Improved to create a repeat region.....
<?php
$wa_repeatfor = -1; // Repeat Selection 2
if (!isset($wa_repeatcount)) $wa_repeatcount = 0;
while (!$confs->atEnd() && $wa_repeatfor != 0) {
$wa_repeatfor--;
$wa_repeatcount++;
if (!$confs->atEnd()) {
?>
<input name="service" type="hidden" id="service" value="<?php echo($confs->getColumnVal("Service")); ?>">
<input name="Uploadconf" type="hidden" id="Uploadconf" value="<?php echo($confs->getColumnVal("UploadConf")); ?>">
<?php echo($confs->getColumnVal("Service")); ?>

,
<?php
if ($wa_repeatfor != 0) $confs->moveNext(); // Repeat Alternate 2
} else {
?>
<?php
} // End Repeat Alternate 2
?>
<?php
}
if (!isset($wa_startindex)) $confs->moveFirst(); // End Repeat Selection 2
?>
And I have tried MySQLi > MySQLi Repeat Region.....
<?php
$wa_startindex = 0;
while(!$confs->atEnd()) {
$wa_startindex = $confs->Index;
?>
<input name="service" type="hidden" id="service" value="<?php echo($confs->getColumnVal("Service")); ?>">
<input name="Uploadconf" type="hidden" id="Uploadconf" value="<?php echo($confs->getColumnVal("UploadConf")); ?>">
<?php echo($confs->getColumnVal("Service")); ?>
<?php
$confs->moveNext();
}
$confs->moveFirst(); //return RS to first record
unset($wa_startindex);
unset($wa_repeatcount);
?>
However when I come to adding the Muliple Insert behaviour I get the same pop up saying 'Your page must contain form elements in a repeated region to use this interface'. I have saved each page after adding the repeat region but I just can't get it to work.

Sign in to reply to this post

Ray BorduinWebAssist

This appears to be a bug. It was reported by another user last week and I was able to reproduce it.

This is high on my priority list. I'm on vacation, but I'll be looking at this critical issue and getting an update out as soon as I can. I experienced a slight delay today when my laptop got salt water on it and died, but I bought a new laptop and will be configuring it on Thursday to pick back up on hunting down and fixing this problem

I should have a fix out in the next week or two.

Sign in to reply to this post
Did this help? Tips are appreciated...

georgina_barrett_187762

OK, thank you. If you can, will you reply to this thread when you have done it - so I know to download the upgrade.

Sign in to reply to this post

tony

I add my voice to that.
I need to do something similar and struggled a bit with this error message.
I'll wait for a solution too.
TIA
tony

Sign in to reply to this post

Ray BorduinWebAssist

I just uploaded a new version of the Multiple Insert that should fix this issue. Just reinstall the current version (I didn't update version numbers because I'm working on a few more issues I just wanted to get this out quickly for you)

Sign in to reply to this post
Did this help? Tips are appreciated...

georgina_barrett_187762

Thank you, that works!

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