简体   繁体   English

我如何预先填写日历客人 email?

[英]How can i prefill calendly guests email?

i passed the prefill data using initPopupWidget .我使用initPopupWidget传递了预填充数据。

window?.Calendly.initPopupWidget({
  url: schedulePageUrl,
  prefill: {
    email: auth.email,
    firstName: "",
    lastName: "",
    name: "",
    guests: ["test1@gmail.com", "test2@gmail.com"],
  },
});

But the form is empty, email is populated successfully.但是表格是空的,成功填充了email Also i clicked the Add Guests button to open the Guest Email(s) filed.我还单击了“ Add Guests ”按钮以打开归档的客人电子邮件

在此处输入图像描述

The guests prefill value should be a string of comma separated values. guests预填充值应该是一串以逗号分隔的值。 You can update your code to the following to resolve this issue:您可以将代码更新为以下内容以解决此问题:

window?.Calendly.initPopupWidget({
  url: schedulePageUrl,
  prefill: {
    email: auth.email,
    firstName: "",
    lastName: "",
    name: "",
    guests: ["test1@gmail.com", "test2@gmail.com"].join(','),
  },
});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何预填充和html表单字段以通过电子邮件发送? - How can I prefill and html form field to send by email? 在嵌入式 Calendly 小部件中安排事件时,如何运行代码? - How can I run code when event is scheduled in embedded Calendly widget? 用HTML内容预填充电子邮件 - Prefill an email with HTML content 打开 email 客户端时如何预填充格式化的 html? - How to prefill formatted html when opening email client? 如何基于下拉菜单选择用数据库中的数据预填充表单? - How Can I Prefill My form with data from my database based on drop down menu selection? 如何在此 Angular 14 应用程序中使用用户数据预填表格? - How can I prefill a form with the user's data in this Angular 14 app? 如何根据下拉菜单选择值预填表单? - How can I prefill my form based on a dropdown menu selection value? 如何在 Angular 12 中嵌入 Calendly - How to embed Calendly with Angular 12 Google脚本API日历/ Google表格; 如何使用来宾(姓名,电子邮件)将日历导出到Google工作表 - Google script API calendar/google sheets; How to export calendar to google sheet with Guests (name, email) 如何预填充地图方向api的来源和目的地? - How do I prefill the origin and destination of a mapbox directions api?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM