Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch › Forums › Using Tap Forms 5 › Increment/decrement buttons, like tally counter?
Tagged: increment decrement button
- This topic has 5 replies, 3 voices, and was last updated 5 years, 9 months ago by
Len Hodder.
-
AuthorPosts
-
January 22, 2020 at 2:31 PM #39331
Len HodderParticipantGreat app!
I’m a newbie with this, and looking for a way to have a counter field, and when I list records in a view, each record has its own inc/dec button for that counter. I have an index of locations in a hospital, and when someone asks for a specific clinic, I use the search box, type the first few letters of the clinic name, and up comes a list of matching records. I then want to be able to tap +/- to record the number of times that someone was directed to that location. At the end of the day, then, I would print the list of non-zero destinations, and reset the counts back to zero for the next day.I’d be happy with just learning how to implement the +/- buttons, if that’s possible. I should be able to create macros for the total/zeroing on my own, I think.
Thanks!January 22, 2020 at 2:59 PM #39333
Daniel LeuParticipantYou should be able to achieve this with a custom layout. First you would need to create a simple script that increments or decrements the counter field. Then in the custom layout, you create a ‘Run Script Button’ and assign your just created script.
Cheers, Daniel
---
See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricksJanuary 22, 2020 at 4:22 PM #39334
Len HodderParticipantThanks, Daniel.
Are you referring to iOS or Mac? I didn’t specify in my original message, but this is on an iPhone, and I don’t think that supports custom layouts, does it? (If it does, I can’t find it!). Other options for iOS?
Thanks.January 22, 2020 at 4:34 PM #39335
Daniel LeuParticipantOh, sorry. I had the Mac in my mind.
Cheers, Daniel
---
See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricksJanuary 23, 2020 at 1:40 AM #39339
BrendanKeymasterYa, sorry, this is a control that I’ve been meaning to add to Tap Forms, but haven’t managed to get around to it yet.
January 23, 2020 at 3:53 AM #39340
Len HodderParticipantThanks, gents. I’ll keep an eye open for a future enhancement!
-
AuthorPosts
You must be logged in to reply to this topic.