[英]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.