# Clones aren't saving to cloud variable Firebase DB

**URL:** <https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, cloud-variable, clone\
**Created:** [September 5, 2021, 7:11pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294 "2021-09-05T19:11:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [September 5, 2021, 7:11pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294/1 "2021-09-05T19:11:28Z")

</div>

For the life of me I can’t figure out why this isn’t working.  
Nothing uploads at all with this configuration.  
I am able to get it to upload IF I make the INPUT\_Details visible first… but then I have 2 of the same input displaying for the user.  
No idea what I’ve got wrong here.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/9/69a8b114e3da0dba09499df8f6e841687a791de0.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 5, 2021, 7:58pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294/2 "2021-09-05T19:58:03Z")

</div>

When you create a clone, you then have two compliments. The original and the clone. So you have to remove the clone. Otherwise, when you loop through, you’ll have two of everything.

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [September 5, 2021, 8:45pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294/3 "2021-09-05T20:45:22Z")

</div>

I don’t have 2 of everything only the original has 2.  
I’ve discovered you pretty much have to stick the original in a location other than where the clones will be placed.  
In other words, the original goes in 1 column or row, (and just make it not visible), and then make sure the clones are in a different column or row.

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [September 5, 2021, 8:51pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294/4 "2021-09-05T20:51:47Z")

</div>

Now I’m stuck here and can’t get the alert warnings to show up.

I want to force the user to enter data into all inputs but I can’t figure out how.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/f/ef353ea5a84a1c84ea4c1cb13892361910275472.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 5, 2021, 10:21pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294/5 "2021-09-05T22:21:16Z")

</div>

It’s not clear how much you’ve troubleshooted this so my suggestions may or may not help. I would first replace all of the alert blocks with a single set label’s text block just so I can see if the IF condition is ever false. Once verified, then you can debug the actual alert blocks. I would also add a wait block to the loop and change a different label’s text to show the value that is being checked on the IF condition. That way you can tell if it’s ever an empty string (“”). I would join that text with bookend characters by doing something like join “#” + [the text input’s text] + “#”. That way, instead of trying to figure out when you see a blank string, you just look for ## and know that it occurred.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:16pm UTC](https://community.thunkable.com/t/clones-arent-saving-to-cloud-variable-firebase-db/1489294/6 "2024-11-08T13:16:57Z")

</div>


