Skip to content

I want to understand what the meta_data field is used for #111

Discussion options

You must be logged in to vote

Hi @sombhattacharyya1983 The meta_data field is optional. It is used when you want to hold extra information for the field that cannot be represented as field value. For example say you have a dropdown spinner showing a list of countries and you want to return the country code, name of the country, population, capital city e.t.c with the form results, you can use the field meta_data to hold this piece of information. When the form is submitted, they will accompany the field value. You can see how this is used on the field named country in the sample_one_form.json file in the sample app.

The idea behind neat-form was simply to create a library for generating forms using JSON schema, the re…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ellykits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants