<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JForms :: Aperio Documentation</title><link>/mobileappsdev/jforms/index.html</link><description>JForms reference The JForms term stands for JSON based forms. With JForms, mobile app forms are built using an easy to learn, declarative scripting. The form content and the logic are describied using JSON elements - no HTML knowledge is required. To learn about JSON format, visit json.org official site.
This reference is organized in the following way:</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 16 Jul 2020 09:23:15 +0200</lastBuildDate><atom:link href="/mobileappsdev/jforms/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>/mobileappsdev/jforms/overview/index.html</link><pubDate>Fri, 05 Jun 2020 14:34:02 +0200</pubDate><guid>/mobileappsdev/jforms/overview/index.html</guid><description>JForms overview The top element of every JForm is a form object. The form object, besides own properties, may declare child elements of other types like fields, actions etc. There can only be one form element per JSON form file.
What kind of elements can be declared inside JForms?
Element types Fields A field is an element used to display and/or enter data. It may containa a label, own actions or child elements. The following fields are implemented as JForm elements:</description></item><item><title>Form</title><link>/mobileappsdev/jforms/form/index.html</link><pubDate>Fri, 05 Jun 2020 14:34:38 +0200</pubDate><guid>/mobileappsdev/jforms/form/index.html</guid><description>The form element is always the top element of the JSON structure.
The following properties may be used on form object:
Property Description Example text The title of the form. It is displayed in the form’s top title bar. If not specified then the form will display the calling menu item’s name as title. “text”: “Sales orders” params The list of the form’s input parameters. An array with parameter names. “params”: [“order”, “customer”] onLoad An action that should be run when onLoad event occurs (triggered when the form has just been loaded). “onLoad”: action metadata The name of the default metadata (object/object.method). It will serve as a source for form fields creation. “metadata”: “salesOrders.get” elements The list of child elements - form fields that will constitue the form content. “elements”: [field1, field2] events An array of event elements. The form will listen for the events listed here and run specified action when such event occurs. “events”: [event1, event2] actions An array of action elements. This is the set of the form’s main actions, by default rendered as buttons. “actions”: [action1, action2] Example of a form with the title, 2 fields and 2 actions…</description></item><item><title>Fields</title><link>/mobileappsdev/jforms/fields/index.html</link><pubDate>Fri, 05 Jun 2020 14:34:38 +0200</pubDate><guid>/mobileappsdev/jforms/fields/index.html</guid><description>There are different types of fields your form can be composed of. Depending on type, the enclosing element can be defined by its set of properties. We grouped them by the common porperties that they use.
Field types Type Description Properties text Input field for alphanumeric strings. plain fields number Input field for numeric data. plain fields boolean Boolean field (true/false), by default rendered as checkbox. plain fields table Table element. table textarea Multiline input filed (beta version, limited) textarea br Single line break line break hr Horizontal line (ruler) ruler h1-h6 Heading, 1 - the biggest, 6 - the smallest heading Note: if child elements are specified, the default type is: group otherwise text is assumed.</description></item><item><title>Actions</title><link>/mobileappsdev/jforms/actions/index.html</link><pubDate>Thu, 16 Jul 2020 09:23:06 +0200</pubDate><guid>/mobileappsdev/jforms/actions/index.html</guid><description>Action elements add dynamic functionality to app forms. For example, they may call api methods, go to another form or manipulate form data. Actions may be attached to form buttons (form actions), table options (context menu), events etc.
Here is the list of different action types. Use the type link to read more about it.
Type Description method Run an api method form Go to a form conditional Conditional statements: if-then-else-always set Data instructions to assign values. May be combined together with other action focus Sets focus to a field forEach Iterates over an array, e.g. selected table items Common properties The following properites are common for all action types:</description></item><item><title>Events</title><link>/mobileappsdev/jforms/events/index.html</link><pubDate>Thu, 16 Jul 2020 09:23:15 +0200</pubDate><guid>/mobileappsdev/jforms/events/index.html</guid><description>The event elements define actions that will run when certain app events occur. The list of events is provided via events property on the top level (form). Currenty, only one type of event is implemented: onchange (default).
onchange event This type of event will be fired when the field content/state changes. For example: in input fields, the event will be fired when the user changes the value and leaves the field (the focus changes by Tab or mouse-click).</description></item><item><title>Components</title><link>/mobileappsdev/jforms/components/index.html</link><pubDate>Mon, 13 Jul 2020 17:13:07 +0200</pubDate><guid>/mobileappsdev/jforms/components/index.html</guid><description>The following components may be used on mobiel app forms:
LiveSearch - input filed extensions for auto-complete functionality Barcode scanner - a 1D/2D code reader Graphical Signature - sign data with pen/finger/mouse BankID - identification/digital signature function (Sweden only) Table-totals - add totals fields associated with table Multiline text field - Enable to enter longer texts with white spaces Mail-to - opens default mail app on PC or mobile device with prefilled values</description></item></channel></rss>