![]() ![]() Returns the record for the specified record ID.įorm.getRecordWithId('rec-123456789abcdef') ![]() Returns an array of record objects for the specified form. Returns the minimum value of all the records in the form for the specified field. Returns the maximum value of all the records in the form for the specified field. Returns the TFFormLayout object for the specified layout ID. Returns the TFFormLayout object for the specified layout name. Returns the internal unique ID of the form. Returns the TFField object for the specified field ID. Returns the TFField object for the specified field name. Returns an array of all the TFField objects in the form for the specified type. Type (text, number, check_mark, date, time, date_time, calc, note, etc.) Returns an array of all the TFField objects in the form. Returns an array of all the field IDs in the form. Returns the average value of all the records in the form for the specified field. Var newScript = form.addNewScriptNamed("My Script") ĭeletes the specified record from the form.ĭeletes the first Script with the specified name from the form.ĭeletes the Script with the specified ID from the form. Var field = form.addNewFieldNamedWithType('Quantity', 'number') Name, type (text, number, calc, location, photo)Īdds a new field to the form with the specified name and field type. Pass null for the layout ID to select the Default LayoutĭlectFormLayout(form_id, layout_id) Returns the list of form IDs for the specified form name.Ĭall this to fetch a form with the specified name.ĭocument.getFormNamed('My Movie Library') Ĭall this to fetch an array of all the forms in your database document.Ĭall this to get a form with the specified form ID.ĭocument.getFormWithId('frm-1234567890abcdef') Ĭall this to fetch a Pick List with the specified name.Ĭall this to fetch the list of Pick Lists in the database.Ĭall this to save any changes your script has made to the database document. document Function/PropertyĬall this to create a new form with the specified name.ĭocument.createNewFormNamed('My New Form') Here are a list of objects and the functions you can call on each. The Tap Forms JavaScript Application Programming Interface ( API) provides you with specific extensions to the JavaScript virtual machine that lets you create, update, and delete various objects within your Tap Forms database document. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |