Good 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.
Hi,
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.
Hi 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
You 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 ago by Brendan.
You could use the "notes"
property of the reminder event_info
to inject your ingredients.