1

如Facebook說電子郵件異步驗證

For privacy reasons, the input to your function will be only the custom fields you requested, on blur or submit. 

事實上電子郵件不是自定義字段,但是當上「X」(交叉)用戶點擊填寫詳細信息,然後手動還是form.email保持undefined

這是一個Facebook錯誤,是否有任何修復/解決方案?

回答

1

好吧,我已經找到了它的修復程序,通過使用「查看」屬性

在字段列表中,我添加

fields="[ 
{'name':'email','view':'prefilled'}, 
{'name':'xemail','view': 'not_prefilled','description':'Email Address:','type':'text'}]"; 

現在電子郵件使用FB和xemail沒有FB是用來和我的異步驗證在沒有fb的情況下需要使用form.xemail。