Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch › Forums › Using Tap Forms 5 › Recipes and shopping list
- This topic has 4 replies, 2 voices, and was last updated 1 year, 11 months ago by
Brendan.
-
AuthorPosts
-
December 4, 2023 at 9:24 AM #50204
Sweet MemoriesParticipantGood morning.
New to TapForms, I would like to know if it is possible to create a recipe book and then, by selecting the desired recipes, make a shopping list.Thanks for your help.
December 4, 2023 at 9:36 PM #50205
BrendanKeymasterHi,
If you setup your Recipes form with a relationship to an Ingredients form, then you could select some recipes to print to make a PDF file that you could browse while you’re shopping. Not exactly an interactive experience though like you might get from a dedicated shopping / recipes app. But it would be possible.
Another way might be to write a Form script that lets you select specific recipes and then inserts the ingredients for those recipes into another form that contains your shopping list items. This would be an involved script to write though.
December 5, 2023 at 12:04 AM #50206
Sweet MemoriesParticipantHi Bredan,
Thank you for your help and your lead.
So perhaps if we take another approach: would it be possible from a recipe to send the list of ingredients to Apple Reminder in a Shopping List section already integrated?
Thanks
December 5, 2023 at 3:56 PM #50208
BrendanKeymasterYou could write a Script you could run that takes the shopping list values and adds them to the Reminders.
function Add_And_Update_Reminder() { // Create new Date instance var due_date = new Date(); // Add a day due_date.setDate(due_date.getDate() + 1); var event_info = {"list_name" : "Work", "title" : "Test Event", "priority" : 1, "notes" : "test note", "repeat_option" : 2}; var identifier = Utils.addToReminders(event_info, due_date); console.log(identifier); event_info["title"] = "Hello Reminder 2"; Utils.updateReminder(identifier, event_info, due_date); } Add_And_Update_Reminder();-
This reply was modified 1 year, 11 months ago by
Brendan.
December 5, 2023 at 4:00 PM #50210
BrendanKeymasterYou could use the
"notes"property of the reminderevent_infoto inject your ingredients. -
This reply was modified 1 year, 11 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.