Search Results for 'script'
-
Search Results
-
Topic: Navigation layout components
Greetings again,
Is there a simple way to add navigational controls on a custom layout? I’d like to add some basic buttons to navigate to First, Previous, Next, Last & Create new records.
I’ve tried adding a script for a keyboard shortcut, but TF will not allow me to use key combos that are already assigned. And as a disclaimer – yes, I know there is navigation in the app itself, but the prev/next buttons are relatively small and reside WAY too close to my auto-hide app bar when in full-screen… when adding records in bulk it becomes quite a nuisance.
Thanks in advance!
Is is possible to send an email from/with Tap Forms using the contents of some fields of one record to populate the email. For example, an email field to be set as the recipient, another as the subject of the email, etc.?
I hardly know AppleScript but I can see that it provides a way of automation the generating an email. But I cannot see in the AppleScript library for Tap Forms to way to address individual fields. But that could be because of my ignorance.
Hello all,
New user here – a bit of a learning curve for me as a relatively new Mac user, but I definitely appreciate the potential of this app. I’m still a bit stumped with one form in particular (that was the primary reason for me purchasing TF).
I am currently using AirTable for inventorying my late father’s model train collection. In the interest of efficiency, I am using that same AirTable data to export my data into a WordPress website (Woocommerce shop via CSV). I am rapidly approaching the limit threshold of my free AirTable account, so I’d like to migrate this data into tap forms.
The field with which I am hitting a roadblock is the “Product Images”. I’ll try to describe this field without being too verbose:
Each record in this collection includes one or more photos. These photos are added to my Airtable, and also (as a completely separate process) uploaded to the WordPress site. Once uploaded, the photo(s) can be referenced using their original filename, preceded by the site’s URL and directory structure. The end result resembles “http://mywebsite.com/wp-content/uploads/2019/02/filename.jpg”.
Using Airtable, I have created a formula field (the equivalent to Tap Form’s calculation field afaik) that assembles the URL by combining the URL prefix (which I enter as static text in a separate field) and the filename of the photo. I have multiple photo fields, so none have more than one single image attached. “IF” arguments are used in the formula field to prevent blank cells from returning just the URL prefix. The end result is a calculated field containing a comma-separated list of each photo’s filename preceded with the URL.
I feel that this mechanism could be replicated using Tap Forms, however, the hurdle I’ve yet to overcome is how to extract the photo filename into a calculation. It seems it can be done AFTER an export using the CSV data, but I’d prefer to be able to process this field within the app so that my exported file can be immediately used to import data to the website.
If anyone can offer guidance as to if/how I can accomplish this task within Tap Forms, I would be extremely grateful! Please note I have virtually zero JS scripting knowledge, but I’d be willing to take a crack at it if scripting is the only option. For reference, the arguments from my AirTable calculation are:
{WC Featured Image}&IF({WC Gallery Image 2}=BLANK(),BLANK(),”, “&{WC Gallery Image 2})&IF({WC Gallery Image 3}=BLANK(),BLANK(),”, “&{WC Gallery Image 3})
Thanks in advance for any insight!
Best,
Kirk
Topic: Loop over records
Can a script be used to loop over all records in a table?
I have a suble script problem:
I want to create an artificial location field value.I wrote this little script:
function SetCoordinates() { // Durch eigenen Code ersetzen var coord_id = 'fld-65d2a762b14542f9abbca1d521df2e37'; var title_id = 'fld-692eb15910f7433181f8f8a6b2fceccc'; var gps_lon_id = 'fld-4a453e4f44854f0f893d3e275d4342c4'; var gps_lat_id = 'fld-4dfd053afaec40b58395083e694085ac'; var location_value = record.getFieldValue(coord_id); location_value["title"]= "GST " + record.getFieldValue(title_id); location_value["lon"]=record.getFieldValue(gps_lon_id); location_value["lat"]=record.getFieldValue(gps_lat_id); record.setFieldValue(coord_id, location_value); } SetCoordinates();
If the field coord_id has already a value this works.
If it has no value (such es no one pressed the location icon before) this doesn’t work. How can I create an empty data structure of the type location?Thanks for hints