How to take input from user in a text field in homepage and display a result below?

0
Let's say I take a string as input from the user and display it in lowercase below. Can it be done without using an entity since I don't want to store the input data?   Edit: The steps to tackle this problem: 1. First create a non persistable entity say "Temp" with attributes that you want to take as input from user. 2. To take input from user on Homepage, you need to place a data container on the page and inside it some input text fields. 3. But for input to work, an object of entity "Temp" needs to be created and passed into the data container of Homepage.             Normally this is taken care by Create New Object button but in the Homepage we don't have this yet.   4. So change the data source of the container to Microflow and create a new microflow that             a) creates a "Temp" object and b) returns the newly created object. 5. Now when the user enters data into the text field, the "Temp" object attributes are set to that data. 6. Finally add a simple textbox within the data container that displays the result you want to show using the input data.
asked
2 answers
2

Hi Aditya,

You have to take entity either persistable or non persistable to take input from users.

If you don’t want to store the data just take non persistable entity ->create object and take the input from users and display them.

answered
2

You will need entities and attributes to be able to enter and display the data. However, if you don't want to store the data, you can take a look at using non persitable entities.

 

There is an intermediate level learning path called 'Expand your domain modeling skills' that talks about this topic specifically in one of the chapters.

answered