Concatenate Text
Hello,
I am trying to do a mock of a login screen with a PIN number. I want to concatenate the number in a text box as the user presses the numbers. For example, if the user presses 1, I want the text box to say 1. If the user then presses 5, I want the textbox to concatenate the values so now the text box reads 15. If the users presses 7, I want the textbox to read 157.
Hi Alex, to recreate that action you could use an input text from the libraries-basic widgets.
Let me know if this information was useful to you.
Greetings.
Ria.
Hi Alex, to recreate that action you could use an input text from the libraries-basic widgets.
Let me know if this information was useful to you.
Greetings.
Ria.
No that actually doesn't help at all :(
I am right clicking on a button and going to Add Event
Trigger = Tap > On Tap
Action = Set value to an element
I am selecting the Textbox
then selecting: The value is Calculated
Adding an expression
*THIS IS WHERE THE QUESITON COMES IN*
How do I concatenate this? in C# it would be something like Textbox1.Text = Textbox1.Text + "1"
I am trying the attached.
Thank you
No that actually doesn't help at all :(
I am right clicking on a button and going to Add Event
Trigger = Tap > On Tap
Action = Set value to an element
I am selecting the Textbox
then selecting: The value is Calculated
Adding an expression
*THIS IS WHERE THE QUESITON COMES IN*
How do I concatenate this? in C# it would be something like Textbox1.Text = Textbox1.Text + "1"
I am trying the attached.
Thank you
Hi Alex,
I'm sorry for the misunderstanding, here is an example that corresponds to the action you are trying to perform, pay attention to the interaction of each number: "On Click" + "Set Value" - to Input Field above. Value is Input Value [concat] Number value.
I hope this information can help you.
Greetings.
Ria.
Hi Alex,
I'm sorry for the misunderstanding, here is an example that corresponds to the action you are trying to perform, pay attention to the interaction of each number: "On Click" + "Set Value" - to Input Field above. Value is Input Value [concat] Number value.
I hope this information can help you.
Greetings.
Ria.
Replies have been locked on this page!