Hiển thị hộp thoại form trong App Script

Hiển thị hộp thoại form trong App Script

Vào HTML tạo ra 1 form html, tên frm_thongbao

function openDialog() {
  var html = HtmlService.createHtmlOutputFromFile('frm_thongbao');
  SpreadsheetApp.getUi() //
      .showModalDialog(html, 'Dialog title');
}

 

Bài viết liên quan:

Hiển thị hộp thoại form trong App Script