Jump to content

Form: Difference between revisions

From Resco's Wiki
Created page with "{{UI Components TOC}} Forms are one of the main components of mobile apps. The main purpose of a form is to display the details of a particular record and allow editing of the..."
 
Line 31: Line 31:
Contact Information Form can be adjusted by using Offline HTML with Java Script. For more information please check this  [https://youtu.be/sGdE8xvb92o?t=19m54s section] of one of our webinars. {{Badge|Webinar}}
Contact Information Form can be adjusted by using Offline HTML with Java Script. For more information please check this  [https://youtu.be/sGdE8xvb92o?t=19m54s section] of one of our webinars. {{Badge|Webinar}}


{{Note|If you use Flexible Forms (New Form UI), the Contact Information Form will be automatically disabled and not displayed to users.}}
{{Note|If you use [[Flexible Forms]] (new form UI), the Contact Information Form will be automatically disabled and not displayed to users.}}


== Edit form ==
== Edit form ==

Revision as of 09:56, 15 July 2019

Forms are one of the main components of mobile apps. The main purpose of a form is to display the details of a particular record and allow editing of the record fields.

Forms are created and managed in Woodford. They are defined within app projects. Each entity has its own forms.

Types of forms

A single entity can have two forms:

  • Contact information form - read-only; designed for quick access to information
  • Edit form - allows users to create new records and modify existing field values
Note Only one form of each type is available per entity. If you need to provide different forms for different scenarios, consider using different projects for different user groups. Another option is using Rule or Offline HTML with JavaScript to adjust the form (show, hide fields, tabs) based on specific conditions.

Managing forms

Forms are associated with an entity. To see a list of forms for an entity, edit an app project, select the entity and click Show UI.

On the Mobile Views, Forms and Charts screen, you can add, clone, or remove forms, edit them and change their properties, as well as export them (to a file in XML format) or import them (for example, to a different app project).


Contact information form

You can find the Contact Info section in Contact Information form. There you can determine which information will be displayed in the special Info tab. In this case, it is a summary of the competitor’s information. It contains predefined categories that cannot be edited, so it should be only used for the entities where it will make sense. It is not really a Read-Only form, it is rather a Contact or Quick Info form. The main function of it is to provide a quick direct phone call option or to send an email without the need to open the edit form. You can also add the available fields to the categories (Address, Call etc.). Information on the Contact Info will be displayed without labels.

Other items in the Tabs section on the toolbar provide a way to add the Iframe, Map and Wall objects. You can also add an available associated list or unrelated list (list of records that will not be filtered).

In the Field Explorer you can add associated views of the fields from the entities bound with the foreign key. Also, when you click on the Contact Info form’s designer part, you can see a list of available fields that can be placed on the Contact Info tab.

Contact Information Form can be adjusted by using Offline HTML with Java Script. For more information please check this section of one of our webinars. Webinar

Note If you use Flexible Forms (new form UI), the Contact Information Form will be automatically disabled and not displayed to users.

Edit form

Edit form serves for defining which fields are available for editing and designing of the form.

To design an Edit form you need to click on Forms and then New in the Main Menu. After that you can name the form and select Edit Form.