留言板 留言板

返回

Adding a "$"

触发器
Adding a "$"
答复
19-3-22 下午7:01
I'm building a simulation where I need the users to enter a number and then have that number, multiplied by 2, show up in a text box with a "$" as a prefix. Any way of making that happen? (Image of what I have so far is attached.) 

Thanks! 
0 (0 票)

RE: Adding a "$"
答复
19-3-22 下午10:39 回复Scott Sheridan。
Hi Scott,
This is a great question.  Thanks for posting it on the forum!

You have a few options to do this:
1. Fake it with another text object
2. Use the Advanced > Text > join block
3. Use a Number Input instead of a text block.  The Number Input can be configured to use a prefix, and can be made "read only" - both in the properties panel.  I'd recommend this because it gives you the most control over the decimals.

Here's how to do these - https://www.screencast.com/t/QleiREqTN2

Hope that helps!

- Nav
0 (0 票)