Is there someone can guide me how form dialog open to show validatemsg on it content?
Example (on click button js):
var validatemsg = "Please enter the information for the following fields :
";
validatemsg = validatemsg + "➠ 1. Full Customer Name
";
validatemsg = validatemsg + "➠ 2. Country
";
console.log(validatemsg);
$('#SPWarnDialog').append('
' + validatemsg + '
');Dialog.open('',
{ args: 'something' },
function(hasSaved) {
console.log(hasSaved);
}, {
title: 'Note',
html: document.getElementById('validatemsg'),
//width: 800,
//height: 800
}
);