Upvote 1

How do I create a button that can display multiple input fields one at a time?

Answered Victor Conesa 9 years ago

I need to create a page that has an "Add Header" button and a "Add Task" button. Each time the user clicks one of the buttons, an input field appears on the screen. I've been able to create a page where one input field appears per button, but would like the user to be able to add, say, 5 or more "task" input fields by clicking the same button. Is this possible?


(Then after that, the user should be able to rearrange the order of the input fields vertically. I saw that JIM can simulate drag and drop, but I haven't played with that part yet.)

Replies (1)
photo
1

Hi,


The best way to simulate this is to drag as many input fields as you want to the screen and mark them as hidden.


Then create a 'on click' event that will show one of the rectangles depending on the variable.


Best,


Lidia

Leave a Comment
 
Attach a file