![]() ![]() Basically any reference to record.getFieldValue(field_id) in the script will tell Tap Forms to start monitoring the referenced field for changes. I’ve also updated the manual to describe a bit about the “magic” that triggers a Script field to execute. You can have Tap Forms generate the record.getFieldValue() function for you or just generate the var field_name = 'fld-1234.' code for you. Tapping on a field will insert the appropriate code into the script. The field button just to the right of the fx button is where you access the list of fields. Tapping on the fx button is how you access the Snippets, which are the little bits of code that Tap Forms writes for you to do different things. When you tap on the script to edit it, a toolbar appears above the keyboard. If you’re familiar with writing formulas in Tap Forms then hopefully that’ll translate over to using the Script Editor. The Script Editor on the iOS version was built tased upon the Calculation field’s formula editor. But I think that for an app as powerful and useful as Tap Forms, a little more work in the latter might be helpful. Where is all of this sort of thing documented?įYI: I’m a retired programmer who completely understands that it’s more fun to write code than to write documentation. I believe that in one of your Forum posts, you said something to the effect of “when Tap see this in your script, it does ”, which is not in the basic description of the operation of “this”. Apparently there is some invisible TapForms code which “magically does the right thing” in some unspecified set of circumstances. There seems to be nothing overt in the script which indicates that action. But from the example given, I can’t see how/why that should happen. For example, the scripts chapter in the Mac manual gives an example of a Movie DB script which runs automatically when barcode information is entered into a record’s field. ![]() For example, I still can’t figure out Form scripts vs script fields in records.Īnd in any case, the gears and levers of scripts are still opaque to me. I’m currently trying to work with scripts on iOS, and the Mac manual refers to objects such as menus which don’t seem to exist as such in the iOS version. Well, “concepts” yes, but that’s not sufficient. There’s no manual for the iOS version, but the Mac manual has many of the same concepts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |