# \[SOLVED\] Constraint Data

**URL:** <https://forum.bubble.io/t/solved-constraint-data/7103>\
**Category:** Database\
**Created:** [October 19, 2016, 4:27pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103 "2016-10-19T16:27:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 19, 2016, 4:27pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/1 "2016-10-19T16:27:13Z")

</div>

Hi.

My list is Country website name

But there are variable in different country.

In order to display only specific country’s website name.

Without any search tab but only in repeating group.

What else I can do? any constrain… ?

If you have any thought and in mind.

Let me know.

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 12:25am UTC](https://forum.bubble.io/t/solved-constraint-data/7103/2 "2016-10-20T00:25:11Z")

</div>

Hello 🙂 If you have a repeating group you can set the Type of Content to be Country. Then you can create a text element within the first cell of the repeating group with the dynamic expression “Current cell’s Country’s Website Name” (for example).

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 7:16pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/3 "2016-10-20T19:16:28Z")

</div>

I think I need a method in “constraint”

Data Field:

Country and top sites

there are only two filed however, I want to modify by country again.

The main database has all 17 countries

Then I tried with your method.

Set a new page, Create a repeating group

But I modify an original data to “Country”

Then follow up your method… doesn’t seem to really create by country though…

Sorry…

I’m still looking forward to hear additional method~~

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 7:22pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/4 "2016-10-20T19:22:58Z")

</div>

No worries 🙂 Can you share a link to your app? Then we can see how to do this with your data structure.

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 7:25pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/5 "2016-10-20T19:25:08Z")

</div>

Ok, in 1 min

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 7:49pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/6 "2016-10-20T19:49:27Z")

</div>

[https://physicalchemistry.bubbleapps.io/version-test/top\_site/sample:custom.top\_site?debug\_mode=true](https://physicalchemistry.bubbleapps.io/version-test/top_site/sample:custom.top_site?debug_mode=true)

Within a repeating group

-\> site symbol  
-\>content url

setting For repeating group:

type of content :top site

repeating group segments  
image and web address url  
type of content :top site  
data source : search for top site -\> site symbol (image)

That’s all I did…  
but there are some bugs going due to bubble’s server slow…

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:00pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/7 "2016-10-20T20:00:55Z")

</div>

Any body knows about “Constraint” if only one filed of data set gets selected…

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 8:06pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/8 "2016-10-20T20:06:20Z")

</div>

Is your repeating group displaying any countries? For some reason it’s showing up empty in preview on mine:

![](https://us1.discourse-cdn.com/bubble/original/2X/a/a0ff618c8f58d528138e6f701dc22d687643d812.png)

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:06pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/9 "2016-10-20T20:06:33Z")

</div>

Do you see any data in bubble?

Why only I can not see anything I upload in database?

I have often times like this. nO result updates in bubble database.

So, I repeat uploading uploding many time. and next day, I found a bunch of data… too slow…

do you have this type of thing to happen ?

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:10pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/10 "2016-10-20T20:10:31Z")

</div>

I wish I could delete the blank ones… but the bubble database still keeps up “Bug.” Can not show any database.

Only way to check my database in “Preview…”

jUst annoying… I wish the bubble is compatible to Safari…

I will open with chrome. Let see…

but Do you figure out to pick up only Netherland data set ??

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 8:15pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/11 "2016-10-20T20:15:55Z")

</div>

I deleted the blank entries and I think it’s working as it should 🙂 I added the constraint in your repeating group so that it only displays the Netherlands:

![](https://us1.discourse-cdn.com/bubble/original/2X/c/cc04cce3fe0134c2bf9bad9bceda5e42b16ec004.jpg)

![](https://us1.discourse-cdn.com/bubble/original/2X/9/922a99d6cb4d31ba3f32fd95b3f932ce6087c1a6.jpg)

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:17pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/12 "2016-10-20T20:17:40Z")

</div>

Ok.

Bubble is compatible to “Chrome”

only I can see my database thru chrome. I was able to delete “duplicated data.”

Here is the movie,

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:21pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/13 "2016-10-20T20:21:46Z")

</div>

[http://recordit.co/40TzIkj4PE](http://recordit.co/40TzIkj4PE)

![](https://us1.discourse-cdn.com/bubble/original/2X/f/fd91329871b3bc86208c173e500768aaa0a10417.png)

T

Bol

only two site’s symbols supposed to show…

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:24pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/14 "2016-10-20T20:24:27Z")

</div>

~  
Sovled !!!1

> **[Bubble - Visual Programming](https://physicalchemistry.bubbleapps.io/version-test/index/sample:custom.top_site?debug_mode=true)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Thanks ! I appreciate working with me.~

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 8:24pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/15 "2016-10-20T20:24:35Z")

</div>

Yes on the page top-site is the repeating group with the constraint.

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 8:25pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/16 "2016-10-20T20:25:36Z")

</div>

My pleasure! I added an ‘s’ to Netherland in your constraint on the index. (It has to match exactly.) 🙂

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:33pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/17 "2016-10-20T20:33:24Z")

</div>

Dose Bubble respond to other devices “resolution”

 ![](https://us1.discourse-cdn.com/bubble/original/2X/0/059f82811d8cd570dd1e2d3df7ca921c7e214b79.png)

I wish i could fix it automatically goes to the center…

Where is the section I can fix the page resized depend on device…

---

<div class="post-metadata">

**Author:** ![fayewatson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fayewatson/32/2686_2.png) [@fayewatson](https://forum.bubble.io/u/fayewatson)\
**Post date:** [October 20, 2016, 8:39pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/18 "2016-10-20T20:39:18Z")

</div>

Yes you can adjust those responsive settings so that elements are centered depending upon the page width. This video explains how to do this:

[https://vimeo.com/169882386](https://vimeo.com/169882386)

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 20, 2016, 8:57pm UTC](https://forum.bubble.io/t/solved-constraint-data/7103/19 "2016-10-20T20:57:55Z")

</div>

Great!

thanks.

Have a good one today!1!

---

<div class="post-metadata">

**Author:** ![aroundshares](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aroundshares/32/15623_2.png) [@aroundshares](https://forum.bubble.io/u/aroundshares)\
**Post date:** [October 21, 2016, 12:06am UTC](https://forum.bubble.io/t/solved-constraint-data/7103/20 "2016-10-21T00:06:59Z")

</div>

[http://recordit.co/coKRNKUF4r](http://recordit.co/coKRNKUF4r)

I still don’t know why it can not apply thru repeating group setting.

When you typed “Netherlands.” It’s just like Field name +s right?

But when other country applied by the same method. It won’t work out…

??

How did you input Netherland+s?

[Next page](https://forum.bubble.io/t/solved-constraint-data/7103.md?page=2)
