Cant understand this practice while saving address

I have brought Marketo template from Zeroqode and I am making changes to it.

I realised while signing up the user, they have saved address in this way(See the screenshot).

Can anybody tell me why did they first search for address:first item ?

Cant we directly add the newly made address table(that we made in step 3) to the user table?

@ZeroqodeSupport @ZeroqodeTeam

Hi @rasaadister
"Search for Addresss:First item" means it is searching Address table in database with its first item…
I am sure it have some constraints
You can click on Search for Addresss (from Search for Addresss:First item)
to see the constraints

So what’s happening behind the scenes is bubble is searching for table name Adress along with the constraint & it returns the list (so we are taking the first item from that list)…

Hope you understood…
If you still have any questions you can ask me

1 Like

Hi @rasaadister,
Thank you for reaching out and for your purchase.

Yes, @vajihahmed was right about the constraints, checking if the user address exists in the database.

This is how our team designed the template. You can always change and add new things to it that you find relevant for your app.

If there are any other template-related questions, please don’t hesitate to contact us, we will be glad to help. :pray:
Best regards,
Zeroqode Support Team.

@vajihahmed @ZeroqodeSupport
Understood. Thank you!

1 Like

You are always welcome. @rasaadister
We highly appreciate using our templates. :pray:

If you require any further information, feel free to contact us.
Have a great weekend ahead. :slight_smile:

Zeroqode Support Team.

1 Like