# Create or Load existing data

**URL:** <https://forum.adalo.com/t/create-or-load-existing-data/21258>\
**Category:** Get Help\
**Created:** [December 24, 2021, 6:17pm UTC](https://forum.adalo.com/t/create-or-load-existing-data/21258 "2021-12-24T18:17:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crystalball](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@crystalball](https://forum.adalo.com/u/crystalball)\
**Post date:** [December 24, 2021, 6:17pm UTC](https://forum.adalo.com/t/create-or-load-existing-data/21258/1 "2021-12-24T18:17:46Z")

</div>

Hi,

I have a simple task of creating or loading a form based on two criteria – if a record already exists with the same name and date then load ELSE create. I tried to accomplish this using two filters in the “create new record” action but something is off.

It never loads the correct data and half the time creates a new record even if a matching record already exists.

Can anyone suggest what I am doing wrong here? Images attached.

 ![Filters](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/9/92093598e962a0b895d39a2c4386bb5c586016b2.png)  
 ![Screens](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/ce2a539d8603ff0ef47d7553dcbcb3a643d1a1b0.png)

---

<div class="post-metadata">

**Author:** ![crystalball](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@crystalball](https://forum.adalo.com/u/crystalball)\
**Post date:** [December 24, 2021, 6:18pm UTC](https://forum.adalo.com/t/create-or-load-existing-data/21258/2 "2021-12-24T18:18:33Z")

</div>

Input 2 is a hidden input field that is set based on what button the user clicks on.

---

<div class="post-metadata">

**Author:** ![crystalball](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@crystalball](https://forum.adalo.com/u/crystalball)\
**Post date:** [December 25, 2021, 5:32am UTC](https://forum.adalo.com/t/create-or-load-existing-data/21258/3 "2021-12-25T05:32:14Z")

</div>

Stacked two buttons … one for create with create action and one for load that was converted to a list with filtered list based on multiple criteria.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [January 4, 2022, 5:32am UTC](https://forum.adalo.com/t/create-or-load-existing-data/21258/4 "2022-01-04T05:32:19Z")

</div>

Closed on January 4, 2022, 5:32am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
