close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DA Repeat Selection using nested repeat regions

Thread began 11/06/2009 8:37 pm by Les Crowley | Last modified 5/24/2013 1:17 pm by msbannister373603 | 1033 views | 4 replies |

Les CrowleyBeta Tester

DA Repeat Selection using nested repeat regions

Is it possible to have a repeat region with a nested repeat region and apply DA Repeat Selection to one or both of the repeat regions?

Sign in to reply to this post

anonymous

Hi Les,

While I don't know the specifics of your project, I can confirm that I have done this several times. Like for example on my blog categories page -- I have a repeat region to display the various categories that are entered to accompany each blog. Within that repeat region, though, is another one that goes through all the posts again to provide a count for how many times the category is mentioned. So the first query just loops through using the MySQL UNIQUE command to get each cat once.. the nested loop then counts how many posts match the category in order to provide an accurate category and tag list. To see the page I am referring to, see here: blog.php

Let me know if you want any code snippets.

Brian

Sign in to reply to this post

msbannister373603

Repeat Selection with Javacscript

I have a question about using javascript with the repeat selection behavior. I have a table that I am using a repeat selection. I am also using javascript and xml files to populate two select menus. When I load the page all of the fields work in the repeat selection except the two select menus that are prepopulated by javascript and xml files. The two select menus that are populated by javascript and xml don't repeat. Only the first row shows. Is there a way to get the fields to repeat? I attached the file I'm working on.

Attached Files
cube.php
Sign in to reply to this post

Jason ByrnesWebAssist

I cant troubleshoot your javascript for you, but my guess is that the problem has to do with the IDS.

since the elements "first" and "second" are in a repeat region, you are creating multiple instances of the same elements with the same ID's.

ID's for elements should be unique.

it is only loading the first one, because only the first uses a unique ID, the others are duplicates.

Sign in to reply to this post

msbannister373603

Thanks. That helps!

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