Thaylan
Posts: 0
Joined: Wed Nov 14, 2012 9:45 pm

Collapsible block with dynamic content

Hello!
I have a collapsible block and, inside it, a checkbox. The collapsible block label is linked to a database. The label on the checkbox is also in a database, but I want to make it dependent on the collapsible block label, so they are both dynamical. Do you know how should I do it?
Thanks!

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Collapsible block with dynamic content

You can map the same service response parameters to two page elements.

Thaylan
Posts: 0
Joined: Wed Nov 14, 2012 9:45 pm

Collapsible block with dynamic content

This works if I'm using one database. Actually, they are from two different databases. Sorry, I didn't make it clear...

Thaylan
Posts: 0
Joined: Wed Nov 14, 2012 9:45 pm

Collapsible block with dynamic content

I mean two different collections from a tigzzi's database

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Collapsible block with dynamic content

Can you build a static page to show me how it would look..?

Thaylan
Posts: 0
Joined: Wed Nov 14, 2012 9:45 pm

Collapsible block with dynamic content

Hello Max. It looks like this:
Image

There will be around 8-12 blocks and, since I want it to be customized in the future and want to change things easily, I need them to be in the databases... I could put them all in one collection, but it would be a big and confusing one (there are descriptions and some other stuff relative to each element).

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Collapsible block with dynamic content

I'm not sure there is a straight forward way to do this. It might be easier if you can preload the data as JSON - where you have an array of categories and each category has the items inside.

Thaylan
Posts: 0
Joined: Wed Nov 14, 2012 9:45 pm

Collapsible block with dynamic content

Ok, gonna go for it then. Thanks!

Angela Temple Rogers
Posts: 0
Joined: Thu Sep 19, 2013 4:27 am

Collapsible block with dynamic content

So Thaylan, did you ever figure this out? I am wanting to do something similar.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Collapsible block with dynamic content

Hi Angela,

Could you please specify what you want to implement?

Return to “Issues”