Previous: How to Design Mobile Forms.


A sub form is a re-usable form that can be included in different forms to save the time otherwise spent on re-designing the same fields for multiple forms.


For instance, instead of designing and adding the employee details section for each form, you can create a sub form with these fields. You can later add this sub form into other forms using the Sub Form control in the Layout tab in Page Designer.  


Limitations of Sub Forms 

You can design sub forms just like you would a form or page. However, you need to be aware of the limitations of sub forms before you start:


  • Sub forms are not independent entities. They cannot be used as is; they need to be used as part of forms or pages. 
  • You cannot design Sub Forms with Repeater controls. The Repeater control by itself is a powerful layout control that allows you to generate multiple other controls as needed. 
  • You cannot use the Web View control in Sub Forms. Web View is a visual control that will show HTML content or a web page within the app itself. You can also customize this control to open the page in a native browser on the user’s device like Safari or Chrome. 
  • You cannot use the Pager View control in Sub Form. Pager View is a complex layout control that shows a scrollable multi-page form. It allows horizontal scrolling by breaking down form fields or information across tabs. Each child of a Pager View is a layout (Stack Layout) that contains all the controls of a single page. 
  • You cannot use the ListView control in Sub Forms. ListView is a complex visual control that is similar to Layout except that it features multiple labels. It is used to show elements of a large data set in the list format. Doubling as an input control, it also allows users to click an item and view all the details of a selected record. However, a template control needs to be defined in order to show the records in the list. 


Need more help? Contact us at support@makeen.io


Next: An Introduction to Form Controls.