cancel
Showing results for 
Search instead for 
Did you mean: 

Need JavaScript /FormCalc code to show multiple messages in popup in Adobe

Former Member
0 Kudos

Hi,

I need the scripting code to show the multiple messages in a popup, I know the method XFA.HOST.MESSAGEBOX() which only shows one message at a time.

My requirement is I am consuming a web service hosted in SAP using Adobe Lifecycle Designer in my Adobe form. This web service will return messages in a table format, I need to show all of these messages in a single popup when the user clicks a button.

Thanks,

Basava

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189058
Active Contributor
0 Kudos

Hi Basava,

this may give you a hint. Its in formcalc.



var cnt = 10
var mystr
var newline = "\u000a"

for i=0 upto cnt do
   mystr = Concat(mystr, "Message ", i, newline)
endfor

xfa.host.messageBox(mystr)

Regards,

Reema.

Former Member
0 Kudos

Hi Reema,

Thanks for your response. It is very helpfull.

Thanks,

Basava