Search Results for 'script'
-
Search Results
-
I am creating a database to record subscriptions and have set up fields to show
1. name of subscription;
2. period of subscription (yearly, monthly, 2 yearly);
3. type of subscription (eg work, domestic, software);
4. amount of subscriptionamong others.
I can see that one of the options is to group records. If I choose type of subscription and Multi-Column View then I can group on headings for work, domestic, software and choose and as a sort field type of subscription so that within each heading the subscription are sorted by the period.
As far as I can work out it appears is not possible to have 2 level Group by Records.
For example, rather than having
Work
domain registration,2-yearly,£9.99
tap forms, monthly, £150.00
365 office, monthly,£59.00
office insurance,yearly,£300.00
professional indemnity insurance,yearly,£1,500.00
Total £2,108.99Instead:
Work
2-yearly
domain registration, £9.99
£9,99monthly
tap forms,£150.00
365 office,£59.00
£209.00yearly
office insurance,£300.00
professional indemnity insurance,£1,500.00
£1,800.00£2,108.99
Is this type of 2-level grouping available in Tap Forms?
Hi Brendan,
I’ve noticed a couple of weird things while building my first Form script. Not sure if I’m just being a noob (probably am).
Does alertWithMessage stop execution? Is this intended behaviour? If so, is there an alternative that won’t halt execution on iOS? Example:
Utils.alertWithMessage('test', 'this message will display'); Utils.alertWithMessage('test', 'this message will NEVER display');Also:
Utils.alertWithMessage('test', '0 time: ' + new Date(0));Displays:
test
0 time: Thu Jan 1 1970 00:00:00 GMT+0000 (GMT)However, if I assign that value to a blank date field, formatted to display as HH:mm, with Set Current Time as OFF, using the code:
record.setFieldValue(test_time_id, new Date(0));I get a value of 01:00, when I would expect a value of 00:00.
If I adjust for it, with the code:
record.setFieldValue(test_time_id, 0 - 60*60*1000);… then I get the value of 00:00.
(I seem to remember an old TF bug similar to this many, many moons ago — I wonder if it has come back to haunt :) ).
Thanks for your help, as always.
Merry Christmas!
Topic: inventory forms
i would like to have an inventory database. 2 forms. 1st for the parts themselves. part #, description, and quantity on hand. 2nd form for transactions. receive a part(s) which adds part with specified quantity, use a part which subtracts it . i have this form with datetime, part number which i want to link to first form and update that quantity, num of parts used or added, why field which has picklist for use, received, transferin, transfer out. i’m not sure how to set up link to type. i would like to take number on hand on first form and update it with quantity changed on second.
Topic: Watched TV Shows
Playing around some more with Tap Forms’ scripting. I created a form that lets me pull a TV series from IMDB and then also creates a table within each record with a list of all of the episodes. I have a checkbox that I can check off whenever I watch an episode.
Couple of nice features:
- The “Completed” checkbox in the form will check off all of the episodes in the table</l1>
- If all of the episodes are marked as watched, the “Completed” checkbox will get checked
- You can add the same series twice. It won’t create a new record. If there are new episodes, it will automatically add them to the existing record.
To use this, you’ll need to create an API key at http://www.omdbapi.com