Search Results for 'script'
-
Search Results
-
I apologize if this has been asked a bunch, but I promise I did do a lot of searching before landing on a post here.
Here’s my scenario:
I have a form that I use to document Amazon product reviews. I have several image fields in the form for screenshots and item pictures. In the couple of months I’ve been using this form I was adding uncompressed images so my DB size has grown quite a bit. I exported all of my images along with a CSV of all my records., ran a Python script to compress them, and would now like to feed them back into TapForms. However, I can’t seem to get the images to import along with the records.I have tried having the images in the same folder but it doesn’t seem to make a difference. I primarily use TF5 on my iPad Air 5th Gen and my main computer is a Windows PC, so I don’t have the option of using TF on a Mac. Have I run into a Mac-only thing or am I missing something? I have 214 records I’ll have to update manually if importing isn’t an option, so I have my fingers crossed. Thanks in advance!
Take care,
JoshI have a form that has a script that calculates the difference in days between a given fixed date and today’s date. Since there is no manual field change, on my iPad, I pull down on the record list to update all the calculations and scripts. It is not working. It does work on my Mac when I click the recalculate button. And it works in TF5 on my iPad.
To test, I created on my iPad in both TFP and TF5 a new form with two fields: a text field called Event and a calculation field with the formula containing only Now() with type Date. In TF5, the calculation field updates every time I pull down. In TFP, to update the calculation field, I pull down on the record list, then go back to the document, and close the document. Then I reopen the document, choose the form, and the field is updated.
Topic: Annoying prompts
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
Topic: Looking for script writer
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
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
ChrisTopic: TFP vs TF5
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.
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.