Search Results for 'script'
-
Search Results
-
Topic: Attach PDF
I see how to attach a picture, but can I attach a PDF anywhere? I don’t see any mention in the descriptions of the fields.
Is the solution to convert PDFs to pictures?
Topic: Note vs Text
You define “Note” field = large amounts of text. .
You define “Text” field = movie title or short description.
I imported from another DB as CSV file and notice that some records in the “Text” field contain a fair amount of text, much more than “movie title or short description”.
I wonder how many characters a Text field can contain before it doesn’t work anymore. So, should I convert many of my Text fields to Note fields because they have much more than “short description”?
The downside of using the Note field a lot where a Text field would suffice would increase the size of the database considerably I would assume. So, the question about how many characters is a valid question and an important one. Other databases do define this information in character numbers allowed before it is chopped off.
Topic: Javascript Help
I have a form with a simple checkbox. I want to start by checking that box for all my records. Not being a Javascript coder, I need some help.
The field name to check is Added_to_VR-Mailing.
Thanks!!
Topic: Script to rename photo files
Photos are uploaded with various file names.
Later, photos are downloaded using the built-in “Save Photo to Drive”
Request is when photos are saved to drive, that they have the filename as one of the fields
so instead of R-3220837-1321636325.jpg, it would be Fieldcatalogno.jpg
would prefer to run script as a batch since I’m using built-in upload download functions, and once corrected, some sort of script that corrects future uploads.
Topic: New Tap Forms?
I love Tap Forms. It’s even inspired me to attempt Javascript but…uh… it’s not going well. Will there be a Tap Forms 6 that integrates a lot of the functionality that comes from knowing Javascript? I’ll keep plucking away at this language but hoo boy am I bad at programming. Watching the tutorials gives me a new empathy for my parents when I’m trying to show them how to open an email attachment.
It took me a lot of tries to figure out this easy hack, so I thought I’d save others the trouble.
If you’re going to print out forms, it tempting to drag fields into place on a blank canvas and then format each field and hit print.
The problems arise if you have content where the text is of unknown length. You don’t know how much space to leave, and it ends up being holey.
The alternative is to simply type the name of each field in brackets, like this:
[name]
[description]
[price]
Which will cause the fields to stay stacked, regardless of how much data is in each one, flowing longer ones and filling space for the shorter ones.
And you can format it, not just with fonts and sizes.
Go to TextEdit, build into every Mac
Make a new doc
Don’t miss this step: under FORMAT, hit MAKE RICH TEXT
(this cost me two hours of poking around)
now, go ahead and put your bracketed fields in, and you can change the layout all you like.
Then, copy what you’ve got, and paste it back into your form.
Done.
Hope this helps.
Some time ago, I got help with how to import the data from a CSV file with a script (see the post at https://www.tapforms.com/forums/topic/using-javascript-to-import-csv-files/#post-45422).
One of the fields in the CSV contains a date in the form “01/01/1963”, and the aim is to import it into a date field in the form.
Although the script runs fine and imports the data in the CSV, the date field is not imported.
Because of the way the script was written, I do not know how to change the format of the date field so that the date field is correctly formatted for import.
Help would be very gratefully received.