Hello there! I have a text box. How can I print the label as many as the number value I have written in this text box?
so; I typed the value 5 in the text box. I automatically got 5 labels
You’ll have to use inbuilt dynamic label or this extension
Use dynamic compound.
Use for each number block in that set from as 1 to as textbox text by 1 and it will create the number of labels as much entered in table
Any chance you could show a sample code block? Thank you…
it works great that way. but when I press the button, I want to copy as much as the number written in the text box. how can I do this? can you help?
Use the same method for creating any component that you want.
For button you need to enter the Button
as component Name parameter at the place of label
It looks like you have another component with ID1…
Add one more block to set the text for the created label as they will not shown till the text will empty.
+1 more suggestion…
If you want to add components without removing the previous ones, use a global variable instead of number
.
I want be able to share the blocks, but if you need them @iamwsumit and @dora_paz are here
thanks this worked for me. But the textbox is empty, how can I fix it?
What will be the text in those labels?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.