Append text to a number's field

Hello,
I collect an input from a user, the input is a number, and would need to display the number to the other users but with adding “hours” to it. I tried the :formatted append Arbitrary text, but with no luck at all.
Any tip on how to achieve that? see picture of the input field.
append

Where are you trying to display it?

I am capturing the data in a popup, committing it to the database, then I display it in another popup that is a copy-paste from the first one. the fields are of the same type. I attached a picture.
What I am trying to do is when a user enter 14 in the nbre of hours, other users see 14 hours.

append2

Does it need to be in an input field in the second popup? In other words, does the user need to be able to change the number in the second popup or are you simply trying to display “14 hours” to them? If it’s the latter, display the value from the database in a text element and add the word “hours” after the dynamic data. If the user needs to be able to change the value, display it in an input element, and add a text element with the word “hours” after the input element.

Again, where are you trying to display it? (in an input, a text element, etc.)

In any case, all you need to do is add the word ‘hours’ after the number… (obviously you can only do that in an element that can display text)

I am simply trying to display 14 hours to them, and as a matter of fact, they should not be able to edit the data or play with it. I think you answered it by saying “display the value from the database in a text element and add the word “hours” after the dynamic data”. I’ll change the second popup elements from Input to Text and give it a try. Thanks.

1 Like

I changed all the displays to text and was able to manipulate the content. thanks.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.