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 - 2,566 through 2,580 (of 3,049 total)
  • Author
    Search Results
  • #35974

    In reply to: Watched TV Shows

    Brendan
    Keymaster

    Hi Yvette,

    There’s a Run Script button on the Scripts tab for Mac. Click the Scripts tab, then select Import from imdb and then press the Run button. It looks like a black triangle. Like a play button on a video or an MP3 player.

    On iOS, view the list of records in the form, then tap the action menu button, then tap on the Run Script command.

    Thanks!

    Brendan

    #35971

    In reply to: Watched TV Shows

    Yvette M
    Participant

    Hi, I figured out where to put the API key. Now, how do you make the script run? When I go to scripts/ show console log/ it stays blank

    #35963

    In reply to: Watched TV Shows

    Ryan M
    Participant

    Hey Andrew – Do you see any errors or anything when clicking on the menu Scripts > Show Console Log? Keep that window open when running the script.

    #35960

    In reply to: Watched TV Shows

    Andrew Mead
    Participant

    Hi Ryan,

    Thanks for your response. Yes the clicking away from the form did resolve the issue of the script not appearing to run.

    I have found one other oddity though if you wouldn’t mind checking it out. Again using the V series The 100 via https://www.imdb.com/title/tt2661044/ if I run it now it does not pick up any new episodes since the first time the script was run.

    In the case of the The 100 there are at least 9 new episodes list on imdb that the script is not picking up and adding to the table.

    I have tried deleting the table and re running the script but I get the same result. In case you want to try he same I have added a screenshot showing what my most recent episodes are

    Many Thanks for your help
    Andrew

    Attachments:
    You must be logged in to view attached files.
    #35934

    In reply to: Watched TV Shows

    Ryan M
    Participant

    Hey Andrew,

    I just tried the script again in my own form and it worked fine. Do you see any errors or anything when clicking on the menu Scripts > Show Console Log? Keep that window open when running the script.

    One thing I’ve noticed is that the TV show won’t automatically appear. You have to click out to another form and come back and it’ll be there.

    – Ryan

    #35915
    Andrew Mead
    Participant

    Please ignore last post I realised I had to run the script by opening in the script editor first. I I run from he front screen it doesn’t work

    #35914
    Andrew Mead
    Participant

    Hi Brendan,

    Sorry if this is the wrong place to put this, but I am using the Watched TV Shows Template, which is exactly the thing I am looking for it’s just that the script doesn’t do anything, at least that is visible to me.

    I have generated my api key and have pasted that in the script in TF.
    Now when I run the script it asks for a IMDB URL which I paste in (example for The 100 would be https://www.imdb.com/title/tt2661044/ but then the script does not seem to do anything after that.

    Is there something I am missing.? The script console shows no messaged either. Any help would be appreciated.

    Thanks
    Andrew

    #35913
    Brendan
    Keymaster

    There’s no function to trigger the printing system from a Script.

    But you can press command-] to jump to the last record in a form, then command-p to print it.

    #35911
    tmc Company
    Participant

    Anyway thank you very much
    I solved it by synchronizing the database with the mac and print from there

    Is it possible to make a Script to print the last record from the MAC automatically with a button?

    Thank you !!!

    Excuse my English

    #35900

    In reply to: Watched TV Shows

    Andrew Mead
    Participant

    Hi

    Ok I have now managed to generate an API key and have pasted that in the script in TF.
    Now when I run the script it asks for a IMDB URL which I paste in (example for The 100 would be https://www.imdb.com/title/tt2661044/ but then the script does not seem to do anything after that.

    Is there something I am missing.?

    Thanks
    Andrew

    #35690
    Steve Cutchen
    Participant

    I’m considering using Tap Forms to design a recipe database. I’d like to have a pick list of ingredients that I select with combo boxes on a layout so they will auto-complete. But I’m not sure how Tap Forms will handle an ingredient that is not currently in the list. Ideally, if no match is found, I’d like the new ingredient to be added to the list. Will a combo box do this? Maybe if I type into a combo box, there’s no match, but then, with the new ingredient typed in I click on something to add the contents to the pick list? Maybe with a script? Is there a better way to do this functionality?

    I need this functionality with more than just the ingredient field. The concept is to prevent duplicates and to ease data entry. Other fields where I’d use this include the recipe source, ingredient measurement title, recipe category, and cuisine type.

    #35661

    In reply to: Scripting Tutorials?

    Brendan
    Keymaster

    Hi,

    Just what you see so far in the online user manual for the JavaScript API and the sample scripts that are there.

    If you look at the Mileage Tracker form sample in the Template Exchange forum, you’ll see a sample script there too.

    #35658
    Shane
    Participant

    It seems that scripting can be a particularly powerful way of augmenting forms. Are there any tutorials or examples on how to use them? I didn’t see anything on the web site.

    Thanks.

    #35622

    In reply to: Great idea ;-)

    Sam Moffatt
    Participant

    With a CouchDB server and a JavaScript frontend, I think someone could actually make this work. I’ve been toying with this on and off for a while but never had the time to finish it off. I started off building a PHP web app frontend but decided that if I could figure out how to join it direct to CouchDB in JS then that’d work better.

    #35257

    In reply to: Printing Tables

    Peter Keenan
    Participant

    OK, got it.
    I’m trying to do two things really. Show an indication of an item that someone wants and eventually be able to search for the total of items that the person has chosen. The “Checkmark” doesn’t work in search and using “Text” with an “X” as a field looks sloppy. That’s why I resorted to a table but that won’t work if I can’t show it in print or pdf form. Not sure if I have the Script-cred to go down that road. I noticed in the help guide that you can get the info out of a table but as I said, I’m too much of an end-user to probably figure it out.

Viewing 15 results - 2,566 through 2,580 (of 3,049 total)