Multi line pop up messages

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);

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


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

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

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