こんにちは、
現在、Facebook の登録プラグインを使用しており、フィールドのデフォルト値をテキスト タイプに設定します。
しかし、それが可能かどうかはわかりませんか?PHP とプラグインでテキスト フィールドのデフォルト値を設定する方法は? ご協力いただきありがとうございます !
<iframe src="https://www.facebook.com/plugins/registration?
client_id=APP_ID&
redirect_uri=[...]&
fields=[{'name':'name'},
{'name':'last_name'},
{'name':'first_name'},
{'name':'birthday'},
{'name':'gender'},
{'name':'email'},
{'name':'telephone', 'description':'T\u00e9l\u00e9phone', 'type':'text', 'default':'sith'},
{'name':'portable', 'description':'Portable (facultatif)', 'type':'text','no_submit':true},
{'name':'fax', 'description':'Fax (facultatif)', 'type':'text','no_submit':true},
{'name':'adresse','description':'Adresse','type':'text','default':'truc'},
{'name':'adresse_suite','description':'Adresse (suite)','type':'text','no_submit':true},
{'name':'code_postal','description':'Code postal','type':'text'},
{'name':'ville','description':'Ville','type':'text'},
{'name':'pays','description':'Pays','type':'select',
'options':[...]},
{'name':'password'},
{'name':'captcha'},
{'name':'abonnement','description':'Re\u00e7evoir la Newsletter','type':'checkbox'},
{'name':'stop_pub','description':'Re\u00e7evoir des offres marketing et bons d\'achat','type':'checkbox'},
{'name':'offre_sortir','description':'Re\u00e7evoir des bons plans Sortir Malin dans votre r\u00e9gion','type':'checkbox'},
{'name':'offre_partenaire','description':'Offres publicitaires de la part d\'autres partenaires','type':'checkbox'}]"
scrolling="auto"
frameborder="no"
style="border:none"
allowTransparency="true"
width="100%"
height="850"
onvalidate="validate">
</iframe>
私の悪い英語でごめんなさい、私はフランス人です!=)