Search Results for 'script'
-
Search Results
-
Is there a way to use the share/send-to option on iOS Safari to pass information to Tap Forms? What I’m thinking is some sort of bookmark manager functionality so I’d want to pass the URL and title into a predetermined database. Alternatively would this be possible via a Safari bookmark with some Javascript in it, like I’ve seen for other bookmarklet functionality in the past?
Topic: Advice on script triggering
I’m making a cataloguing database for things like DVDs and am using the example script in the script help section of this website (which uses the barcode/UPC to do a lookup to the Internet to get the product details). What I would like to do is to have a button on the form to trigger the script (rather than having to select it from the menu, which I feel is less intuitive/convenient), but I don’t think this is possible? (I would love that as an enhancement!). I’ve read a few forum posts on the subject of script updating and aren’t sure what it’s best to do. Since the service used for the lookup is limited re. the number of lookups (for the free service) I want to limit the quantity of lookups, i.e. I was thinking of writing per field scripts that returned the specific value based on when the barcode/UPC value changed, but this would increase the number of lookups. Also I would like to be able to choose when to do a lookup, hence the desire for a button/trigger. Thanks in advance.
Hi,
I am currently interested with the scripting capability of TapForms to apply on my workflow. I would like to ask for help or maybe scripting samples for this conditions:
1. To Create a New Record.
2. To Put the Current Date in a Date Field.(Much better if I am able to have a prompt to input details to specific fields [e.g. date, week number, etc.])
Thank you so much for your help on my learning journey. :)
Hi, A newbie here, just purchased this today on iOS and planning to get the macOS version very soon. First impression is very good. No doubt I will have some other questions but my first one is a consistent crash I can cause.
It’s when I’m looking at a script in the forms view and select the option in the screenshot (top right of screen).
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.