Tap Forms app icon half
Tap Forms Forum text image
Blue gradient background

Exchange tips and ideas with the Tap Forms community

Search Results for 'script'

Viewing 15 results - 151 through 165 (of 2,990 total)
  • Author
    Search Results
  • #52357
    Nigel Parrish
    Participant

    Just getting to grips with TFP. Like the new feel of it.

    A couple of things I find annoying:
    Every time and I mean every time I open a record the tool tip opens by the new record plus sigh to tell me how to add a new record. Can this be turned off in settings please?
    The sync ‘circle’ and information message pops up after nearly every record change or addition of a new record. On a phone it obscures the top of the screen for a few seconds and breaks the flow of adding things. Again could this just be a small spinning circle or just do its things quietly in the background.

    Is there a reason on an iPad that a custom form layout can not be displayed and printed or exported as a PDF like on a Mac? Seems like this aspect of the app is still the same and would be a great pro feature.
    Overall still exploring the app and very happy for the continued development. Not big on subscriptions but a half price introduction and £50 odd a year isn’t bad for something I use all the time.

    Cheers Nigel

    • This topic was modified 7 months, 3 weeks ago by Nigel Parrish.
    #52355

    In reply to: TFP vs TF5

    Brendan
    Keymaster

    Whoops. I didn’t see the original post. So sorry about that.

    There’s a ton of new things and improvements in Tap Forms Pro.

    Please see this page for a list of many of the new features in Tap Forms Pro:

    https://www.tapforms.com/new-features

    If the new Template Library is not your thing, that doesn’t mean it’s not useful for other people. There’s always going to be features that some find useful and features some don’t find useful. Everyone has their own needs. Many people would find the Template Library useful so they can import templates into any documents they like. The old version required you to open the specific Sample Forms document, export whatever you wanted from there and imported into your other documents. Plus I can add new form templates to the library at any time and the entire Tap Forms Pro community will get them.

    Script editing has been greatly enhanced. It uses a new scripting engine that supports snippets, better code completion, and the ability to access other forms’ fields without having to exit the script editor and go find the other form and take note of the field Ids for use in your code. The script editor is now modeless so you can have multiple script windows opened at the same time.

    Plus Cascading Pick Lists, Tags, the ability to have your documents in a location that you determine rather than Tap Forms only looking in its own hidden container folder for documents. Full Dark Mode support even with the ability to selectively turn it on and off for the sidebar and custom layouts. Search counts, sidebar icon sizes, forms and search lists in the menus, sync with other Apple ID accounts that are not your own, the new reporting engine, and so much more.

    If all that disappoints you, then I would recommend taking another look because perhaps you missed all those things.

    I also wanted to make sure that people coming from Tap Forms 5 were able to use Tap Forms Pro without having to think too hard about how to use it. So it would feel comfortable, yet modern, with all the new things you can explore as time permits.

    Thanks,

    Brendan

    #52352
    Jeff Diamond
    Participant

    Hi everyone, I’m looking for someone I can hire to write some TF5 scripts for me. I have a business making and selling jewelry and lapidary. I have a TF5 database that I created and is functional, but I need to automate a bunch of the functions and I don’t really have the time or inclination to try and learn JavaScript. I looked at the tutorials on this site and my eyes glazed over and my head started to hurt lol. I need about half a dozen scripts to do things such as when I create a BOM (build of materials) for a new product, I need the database to automatically update the quantities in inventory of all the items on the BOM. Doing it manually is not only time consuming, but I found I’m forgetting some items so my inventory is off. Thanks

    #52331

    In reply to: Apple shortcut support

    Brendan
    Keymaster

    Hi Mark,

    It’s already there. You can use Shortcuts to run scripts, create records, or open specific forms.

    Thanks,

    Brendan

    Attachments:
    You must be logged in to view attached files.
    Chris Ju
    Participant

    Hi Brendan,

    i want to migrate from TF 5 to TF Pro. I have a lot of scripts in my database. I would like to estimate the effort I have to make changes. It would make sense to know which functions are no longer supported with the new JavaScript API. For example Utils.getCalendarNames() is not available in TF Pro.

    Could you please provide a change list?

    Thanks
    Chris

    Harry
    Participant

    Just to follow up. I translated 4 calculation fields with long complex formulas to a single script field using JavaScript and deleted these 4 calculation fields. Thanks again to Daniel Leu for pointing me in the right direction.

    #52190
    Simon Spiers
    Participant

    Another question. In TF5 the ‘Session surgeon’ and ‘Session hospital’ weren’t text fields but links from separate forms. The script was able to extract the values and populate fields in the present form. In TFP the ‘linked to’ fields don’t appear in the scripting window and it doesn’t appear on the face of it to be possible to get the values. Or is it?

    Attachments:
    You must be logged in to view attached files.
    #52186
    Helmut Janetzko
    Participant

    Hi,

    I have now tested TFP extensively, and I’m wondering: what has actually changed?

    First, I migrated my 4 GB TF5 database to TFP on my Mac. Everything worked perfectly.
    Then I synchronized using iCloud with my iPad and iPhone … that also worked flawlessly.

    So now I have my database in TFP, and everything looks exactly the same as before.
    What has actually changed? Forms, fields, layouts, scripts – editing – everything is just like it was before.

    The layout is a bit nicer, but the handling of the whole program and the programming itself … nothing has changed at all.
    And the new templates for forms? Nobody needs them. You can create much better ones yourself.
    Even script editing is exactly like it was in TF5. No modernization visible.
    Old wine in new bottles. I’m honestly a bit disappointed!

    So, where is the added value of the Pro version?

    So far, I don’t see any … I’m still in the two-week trial phase, and as it stands, I’ll probably stick with TP5.

    #52182
    John Martin
    Participant

    To close off this topic, I emailed Brendan and he sent me the link to purchase the MacOS + iOS discounted annual subscription directly from iOS. The link worked smoothly and I’m now running Tap Forms Pro on my Mac and iPhone. I’ve migrated my databases from Tap Forms 5 without problem and am exploring the new features of Tap Forms Pro.

    Thanks to Brendan for the great customer support!

    Harry
    Participant

    I believe there is a bug in Tap Forms Pro on iPad (Mac is fine) when you run a script from the script editing screen that returns a date. This causes Tap Form Pro to crash hard back to the Home Screen. It does, however, return the correct date to the form itself. But you can’t see the Results or Console Log so you can’t debug a script on iPad. Here’s how I came to this conclusion:

    On my Mac, I am working on a script field in an existing form to consolidate a bunch of calculation fields with complex date calculations. The script returns a date, so the Result Type is set to Date. The script runs fine on my Mac. After syncing, when I opened the script on my iPad and ran it from the script editing screen, Tap Forms Pro crashed hard back to the Home Screen. It did return the correct date to the form itself.

    To see if it was a problem with my script or a problem on my iPad, on Tap Forms Pro on my Mac, I created a new form in an existing document. The form has two fields: a date field called Date and a script field called Script. The script returns a date, so I set the Result Type to Date. Here’s the script:

    function Script() {
    
        var date = record.getFieldValue('fld-30474b3e3b4740109e54e1912e6e59f2');
        return date;
    
    }
    
    Script();

    It runs fine on my Mac. On my iPad, the new form synced from my Mac. When I opened the script on my iPad and ran it from the script editing screen, it crashed hard, just like the script I’m working on.

    To see if the sync from my Mac to iPad was the problem, I created a new form on my iPad with the same two fields and script as above. It also crashed hard when ran from the script editing screen.

    To see if it was a problem with using a date, in the same form I created a text field called Text and a new script field called Textscript. Here’s the script:

    function Textscript() {
    
    	var text = record.getFieldValue('fld-51dd29f120b44101b99cf90f6ab01860');
        return text;
    
    }
    
    Textscript();

    This script runs fine on my iPad from the script editing screen. So my conclusion is that there is a bug in Tap Forms Pro on the iPad with script fields that return a date when run from the script editing screen. However, the correct value is returned to the form.

    • This topic was modified 8 months, 2 weeks ago by Harry.
    #52172
    Shane
    Participant

    Sorry, I figured it out (brain not working first thing in the morning before coffee). For anyone else reading you can use the javascript setFieldValue() method to insert markdown formatted text into a markdown field:

    function Script1() {
    
    // 1. get markdown field id and store it in a variable
    var markdown_id = 'fld-386387870d374f9dbbd550b3393c2692';
    
    // 2. create the output text with some markdown formatting and store it in a var
    var theMessage = "lalalal **this is bold**";
    
    // 3. output to markdown field
    record.setFieldValue(markdown_id,theMessage);
    
    }
    
    Script1();
    • This reply was modified 8 months, 2 weeks ago by Shane.
    • This reply was modified 8 months, 2 weeks ago by Shane.
    • This reply was modified 8 months, 2 weeks ago by Shane.
    • This reply was modified 8 months, 2 weeks ago by Shane.
    Attachments:
    You must be logged in to view attached files.
    #52171
    Shane
    Participant

    Thanks for the info Daniel. How do you combine javascript with markdown? As far as I know they’re two separate fields.

    Thanks again.

    #52168
    Simon Spiers
    Participant

    Hi Brendan,

    I really like the new Tap Forms Pro — Thank You!

    I migrated from Tap Forms 5 and one of the scripts no longer works. It gets the values from a linked form and populates fields in the current form.

    How can I make it work again?

    Thanks in advance

    Attachments:
    You must be logged in to view attached files.
    #52161
    Shane
    Participant

    I guess worst case scenario is I can just pull the records and filter them via javascript.

    #52160
    John Martin
    Participant

    The error message continues after the update to Tap Forms Pro, so I will email you for the link to purchase a subscription from iOS.

    In addition to the things I mentioned previously, I’ve tried logging out and back in to the Mac App Store as well as trying the purchase while booted in Safe Mode, with neither having any impact. I note that my iCloud account and my media purchases (iTunes) account are different; perhaps that is causing the problem.

    Thanks for your initial response.

Viewing 15 results - 151 through 165 (of 2,990 total)