Search Results for 'script'
-
Search Results
-
Topic: Inventory number
First of all, I know about the auto-increment function of a number field. But it’s not what I am looking for. Why? Because the field continues to count from the last position even if old records are deleted.
This means:
I need a script to fill in the gaps (freed up inventory slots) in the database when records are deleted and after that, created.
I want to use the inventory number as just it, a fixed number for a record (readable) and I don’t want gaps.Can somebody help me with it? I think it’s understandable that you need something like this for managing collections of items (i am a collector).
Thanks!
Topic: rounding decimals
Am I right in finding that 0.5 is occasionally rounded down instead of up? Is it that rounding decimal places in Javascript can go “quirky”? And can it be solved in TF calculation fields?
What would be the best approach?
Thanks for any advise.Eric
Hi,
I just made a quick utility to simplify adding records to Tap Forms from other apps.
It actually allows adding of records from any app (e.g. Shortcuts, Drafts) that can call a URL.
To use:
1) Install: Add the attached script as a form script to the form you want to be able to add records to.
2) Run the script in Tap Forms and it will display the URL you need to use in Shortcuts to add a record
3) Create a Shortcut calling that URL with the parameters matching the field names in the form (for the fields you want to set)I’ve only added support for adding text values, URLs and photos, but there is nothing to stop other field types, such as rating, being added.
Hope someone finds this useful,
Martin
Topic: ipad version issues
Hi Brendan,
Firstly thank you so much for such a useful piece of software. I am using the latest iPad version 5.3.18 and have come across some small issues :- When creating a new field, the description is never shown
- Cannot seem to delete a pick list
- There is an option to colour items in a pick list but this does not work
- Table field entries are not searchable
- fields setup with pick lists using list value not field, still allow you to enter text directly into the field and not pick an entry from the list. Surely a pick list should only allow an entry to be picked from the list of different values. By setting a pick list field to allow multi-select this actually prevents text entry in the field !
These are only minor issues. Otherwise I really enjoy using the software. Keep up the good work,
Thanks
NickI wish to create a script which searches one Number field. If there is nothing there then use another Number field. However, if the first number may have nothing in it (not even a zero), but I cannot work out the search criteria for an empty number field.
For example:
if (upper_figure == ”) {
return total_charge_with_fixed_amount;}
does to produce the desired result if the upper_figure is empty. Nor does
if (upper_figure == null) {
return total_charge_with_fixed_amount;}
What is the correct syntax for an empty Number field?