停止 AppMaker 删除电子邮件地址 onSend

Stop AppMaker deleting email address onSend

我刚刚学习 AppMaker,我已经按照发送电子邮件的教程进行操作 https://developers.google.com/appmaker/tutorials/call-scripts/

它按预期工作,所以我决定通过将它集成到我的注册表单中将其提升到另一个层次。

-- 问题大纲--

-- 问题 --

截图:

在您提到的教程中,有一个 'clearEmailForm' 函数是在成功发送电子邮件时调用的。我认为您可以删除清除 'to' 字段的代码:

/**
* Clears the entire email form
*/
function  clearEmailForm(){
  var formWidgets = app.pages.Email.descendants;
  ...
  formWidgets.To.value = ""; // Delete this line
  ...
}