can we have text box with out any attributes set to that
To get a value from the user and that value need not be stored in the database. then what is the need to have the particular text box to be set to a data source property
No – in Mendix text boxes must be stored in an entity. If you need to gather input from the user but don’t need to store that in the database, or only need the information temporarily, you can use a Non Persistable Entity, which are defined in your domain model.