In Mendix you need to think in Objects. No object, no value in or output.
Thus if you want to have a textbox, where you can enter a value, you need an string attribute, which is part of an object. This object must be created before you can enter any value. Creating this object is based on a entity defined in the domain model. So you can achieve this by taking the following steps
- Add an entity to you domain model
- Add at least an attribute to the entity of type string
- Create a page
- Add a listview on this page and set datasource to database and select the new entity
- Add a textbox widget to the list and connect it to the string attribute
- Set the listview editable (listview properties)
- Add a button to the page and configure as follows
- Call microflow
- Create a new microflow ACT_EntityName_Create
- Add create activity to the microflow
- Create object of your new entity
- Refresh in client: YES
- Connect your page to navigation
- Run your project
- Open app and navigate to the page; TADA!
Hope this helps