Search Apps Documentation Source Content File Folder Download Copy Actions Download

doc.gno

1.47 Kb ยท 25 lines
 1// # Gno forms
 2
 3// gno-forms is a package which demonstrates a form editing and sharing application in gno
 4
 5// ## Features
 6// - **Form Creation**: Create new forms with specified titles, descriptions, and fields.
 7// - **Form Submission**: Submit answers to forms.
 8// - **Form Retrieval**: Retrieve existing forms and their submissions.
 9// - **Form Deadline**: Set a precise time range during which a form can be interacted with.
10
11// ## Field Types
12// The system supports the following field types:
13
14// | type         | example                                                                                         |
15// |--------------|-------------------------------------------------------------------------------------------------|
16// | string       | `{"label": "Name", "fieldType": "string", "required": true}`                                    |
17// | number       | `{"label": "Age", "fieldType": "number", "required": true}`                                     |
18// | boolean      | `{"label": "Is Student?", "fieldType": "boolean", "required": false}`                           |
19// | choice       | `{"label": "Favorite Food", "fieldType": "['Pizza', 'Schnitzel', 'Burger']", "required": true}` |
20// | multi-choice | `{"label": "Hobbies", "fieldType": "{'Reading', 'Swimming', 'Gaming'}", "required": false}`     |
21
22// ## Web-app
23
24// The external repo where the initial development took place and where you can find the frontend is [here](https://github.com/agherasie/gno-forms).
25package forms