Prompting a user and storing their data with a button?

Avatar

Avatar

matthewl3726698

Avatar

matthewl3726698

matthewl3726698

18-02-2016

Hello,

I would like to know if possible & how would i approach this in live cycle using java scripts. I'm aware that its easily doable in regular java and c, but im still new to livecycle and im unaware of how i would do this if it is possible.

Objective:

Create a button that opens a message box or text field, takes the user input and stores it in to a variable, which we can then use that stored data and create a for loop to automatically create the new tables until the count is finished(reaches user input number)

I want the button to create multiple tables on the form that are cloned from the first table and the number of tables would be based on the user input.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Magus069

MVP

Total Posts

1.0K

Likes

132

Correct Answer

150

Avatar

Magus069

MVP

Total Posts

1.0K

Likes

132

Correct Answer

150
Magus069
MVP

18-02-2016

Hi there,

the message box you want with a text field would be using response instead of messageBox like the following

xfa.host.response("Question", "Title", "Default Value");

Hope this help!