How to add an extra feature to a simple 'text' field of the table?

How to add an extra feature to a simple 'text' field of the table?

nsaknsak Posts: 36Questions: 6Answers: 0

hi,

I am building a table with several fields, one of which is a select list, where the user selects a quantity-parameter that wants to examine. Another one is a field where the user determines a specific value of that quantity (the use of that value is not of any importance here). Every quantity has a unit, and all the available quantities along with their units are stores in a table on my database.To make it more clear, here is an example: the user selects as parameter the temperature and its unit is Celsius degrees.

Now, I need the second field to show what is the unit of the selected quantity, i.e. it cannot be just a simple text field, where the user sets a number, but the user also needs to know and actually see the unit of the parameter they just selected. So, for example, if the user chooses the temperature as parameter, when editing the value field, they need to see that the value they are determining will be in Celsius degrees.

Any suggestions on how I can implement this?

Thanks!!

This discussion has been closed.