Skip to main content
Nintex Community Menu Bar
Question

Multi line pop up messages

  • July 11, 2024
  • 5 replies
  • 14 views

Forum|alt.badge.img+1

when the message is large, text overlap each other and it is not looking good.
function showMessagePopup(errorMessage){
var popupXMLString =
‘’
+ ‘’
+ ‘’
+ ‘ ‘+ messageString +’’
+‘’
+‘’
+‘’
+‘’

+'</actions>'
                    +'</action>'
            + '</actions>'
       + '</pagetitle>'
       
   + '</components>'
+ '</popup>';

var popupXML = skuid.utils.makeXMLDoc(popupXMLString);

5 replies

Forum|alt.badge.img+10

Can you elaborate on what you’re seeing and possibly even provide pictures?


Forum|alt.badge.img+1

666673338aae44eb84a705f1c2a86810e76302cd.png


Forum|alt.badge.img+10

Are you trying to create a pop up via javascript? Is there any reason you aren’t doing this declaratively?


Forum|alt.badge.img+1

because we can not achieve this by declarative. we have lot of complex validation and this can not be achieved decoratively.


Forum|alt.badge.img+7

Have you seen this community post? It gives an example of creating a popup from Javascript. I think you’re missing this piece - var popup = skuid.utils.createPopupFromPopupXML(popupXML,context); and it might be messing with the formatting of your popup