Skip to content
Benjamin Mwalimu edited this page Jun 9, 2020 · 6 revisions

About this wiki

This wiki contains documentation for OpenSRP Native form from version 1.x

What is OpenSRP Native form

OpenSRP Native form is a form builder library used to generate android views using JSON form specification.

Features

Below are the features provided by this library.

  • View generation. Currently supports the generation of the following widgets (EditText, RadioButtons, Spinner, NumberSelector, DatePicker, MaterialEditText, Barcode, Checkbox, Buttons, CountDownTimer, TimePicker, ExpansionPanel, FingerPrint, GPS, ImagePicker, ImageView,Label, MultiSelectList, RDTcapture, RepeatingGroup, Section, ToasterNotes, TreeView)
  • Calculations - handling calculation on fields
  • Skip logic - hiding and showing of views depending on particular conditions
  • View validation - validating values

Note:- It uses Easy Rules, rules engine library to handle skip logic and calculations.

Contribution

Contributions to OpenSRP Native form are are welcomed. Kindly create an issue for the bug fix or new feature you are adding/want added