2
我正在製作註冊表單,在提交時需要住宅和工作地址。 的字段說明如下:HTML表單自動完成地址語義
<html>
<form>
<input name="street-address" autocomplete="home street-address" required />
<input name="postal-code" autocomplete="home postal-code" required />
<input name="locality" autocomplete="home locality" required /> <!-- or "home city" -->
<input name="organization" autocomplete="organization" required />
<!-- addressee or department withing the organization. optional field -->
<input name="addressee" autocomplete="????????" />
<input name="work-street-address" autocomplete="work street-address" required />
<input name="work-postal-code" autocomplete="work postal-code" required />
<input name="work-locality" autocomplete="work locality" required />
</form>
</html>
我使用http://microformats.org/wiki/hcard和https://html.spec.whatwg.org/multipage/forms.html#attr-fe-autocomplete-organization-title創造一個很好的瀏覽器兼容的自動填寫表單。
我無法弄清的是,如果收件人/部門字段有一個不錯的自動填充名稱。 是否有人熟悉這個/或任何輸入?