Skip to content

This app will create dynamic forms based on the provided input JSON (in a specific format)

Notifications You must be signed in to change notification settings

shahbazahmed1269/AndroidJSONForms

Repository files navigation

AndroidJSONForms

This app will create dynamic forms based on the provided input JSON (in a specific format)

###Input types supported as of now:

  1. Text
  2. Number
  3. Multiline
  4. Dropdown

###Validations supported:

  1. Required - Can be used for types text, number and multiline
  2. min, max - Can be used for number types only.

For usages see the JSON format below.

Input JSON

You can make changes to input json in this file:/app/src/main/assets/formDetails.json

[
  {"field-name":"name", "type":"text", "required": true},
  {"field-name":"age", "type":"number", "min": 18, "max": 60},
  {"field-name":"address", "type":"multiline"},
  {"field-name":"gender", "type":"dropdown", "options":["male", "female", "other"]}
]

About

This app will create dynamic forms based on the provided input JSON (in a specific format)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages