Using scripting to manage balances in Tap Forms 5 (YouTube)

Tap Forms – Organizer Database App for Mac, iPhone, and iPad Forums Script Talk Using scripting to manage balances in Tap Forms 5 (YouTube)

Viewing 0 reply threads
  • Author
  • November 25, 2021 at 9:03 PM #45798

    Sam Moffatt

    On Twitter there was an ask to have a field decrease in value based on the action in another form. I use scripting and model a transaction log style interface to not only keep balances but record the transactions as they happen for accountability (where did my yarn balls go?).

    In Part 1 I work through the initial structure and layout of the forms as well as creating our first script to set the balance for a yarn ball. Part 2 covers creating a “Library” script and the work needed to handle adding and removing entries whilst maintaining the transaction log. This then gets applied to the “products” form so that we can see how to use the bill of materials to reduce the balances whilst maintaining a log of what happened.

    Attached is an export of the Yarn Balls form template which should contain the forms, fields and scripts covered in the videos.

    If there is interest I can go through and do a third part with some quality of life improvements, adding some extra validation and potentially creating another form with produced items automatically linked together.

    You must be logged in to view attached files.
Viewing 0 reply threads

You must be logged in to reply to this topic.