MyFormworks / Formworks

Formworks is a framework for building forms from JSON files.
https://myformworks.github.io/Formworks/
MIT License
6 stars 1 forks source link

Requirements for building a form #31

Closed Galdineris closed 4 years ago

Galdineris commented 4 years ago

To create forms, some amount of information is necessary. Which information will we need.

EdgSgroi commented 4 years ago

You are referring about the attributes required to create a form in the code or in a conceptual approach?

csfar commented 4 years ago

We've discussed which properties are required in our JSON, both from a conceptual and a code point of view. I suggest @Galdineris add what we discussed here.

Galdineris commented 4 years ago

thanks for the heads up @csfar , I sent it to the wrong issue. Bellow the message:

After discussions with @VicFalcetta @csfar @EdgSgroi and @cassiaabarbosa , the general data structure of the form was defined as

Form

Component

Field

csfar commented 4 years ago

thanks for the heads up @csfar , I sent it to the wrong issue. Bellow the message:

After discussions with @VicFalcetta @csfar @EdgSgroi and @cassiaabarbosa , the general data structure of the form was defined as

Form

  • Form Title*
  • Components*

Component

  • Component Title*
  • Component Subtitle
  • Error Label*
  • Component Type*
  • isObrigatory*
  • Fields*

Field

  • Placeholder -> for TextFields
  • Opcões -> for Selects

I think we should change from isObrigatory to required.

Galdineris commented 4 years ago

Needs to be added to documentation.