Page 1 of 1

Associating multiple buttons with different database entry _id's

Posted: Wed Oct 23, 2013 6:35 am
by Christopher Herold

Hi!

I have a database with multiple entries. When I display these entries I associate each them with a button called "Edit Notes".

I then have a list that looks something like this:

Tiger Lion
834-2343-2343
a href="mailto:dsad@dsad.com" rel="nofollow"dsad@dsad.com/a
Edit Notes

Yellow Blanket
4354-345-435
a href="mailto:tuiosa@ads.com" rel="nofollow"tuiosa@ads.com/a
Edit Notes

On click of the "Edit Notes" button, for one of the specific entries, the app then navigates to a new page where it uses the _id associated with the button for that database entry to bring up the data of the entry to be edited.

Problem: I do not know how to associate the _id of each database entry with each of the buttons so that when I click on any one of the buttons it then pulls up the specific data that I need to edit.

Is there an easy way to do this that I am missing?

Thanks for your help!


Associating multiple buttons with different database entry _id's

Posted: Wed Oct 23, 2013 9:36 am
by Maryna Brodina

Hello! We're working on your question. I'll update.


Associating multiple buttons with different database entry _id's

Posted: Wed Oct 23, 2013 10:31 am
by Maryna Brodina

Please use hidden label as shown here http://docs.appery.io/tutorials/build...