Populate i kahi Mala Hunahuna ma Wufoo

logo wufoo

Ua ʻike ʻoukou e nā poʻe i koʻu ʻano hapa ʻole i kaʻu mau hoaalohaFormstack me ka mea hana palapala pūnaewele, akā ma ke ʻano he ʻoihana, ʻaʻole mākou e hana mau me nā polokalamu a mākou e aloha ai. I kēia lā, ua hoʻouna mākou i kahi hoʻolālā pae pae no kahi ʻoihana i loaʻa Wufoo hoʻohui piha i kā lākou kaʻina alakaʻi alakaʻi.

ʻO kekahi o nā mea a mākou e hōʻoiaʻiʻo mau ai ʻike mākou i ka loaʻa ʻana o kēlā me kēia kēpau i hiki ai iā mākou ke noi i ka moʻohelu kālā kūpono i kēlā me kēia meahana a hoʻonui i nā alakaʻi me ka mālama ʻana i ke kumukūʻai no kēlā me kēia alakaʻi. Ke hoʻohana nei i kahi mea hana palapala pūnaewele e like me Wufoo, manaʻo paha ʻoe ʻaʻole hiki ke hoʻonohonoho a kahua huna a prepopulate ia kahua… Maʻalahi maoli ia.

Hoʻohui i kahi kahua hou a hoʻonohonoho i ka huaʻōlelo CSS i hūnā ʻia. E hōʻoia kēia i ka hōʻike ʻole ʻia o ka māina ma ka palapala me ka nānā ʻole i ka hāʻawi ʻia ʻana.
huna ʻia ʻo wufoo

I kēia manawa, e nānā i ka palapala ola a ʻike i ka inoa o kāu kahua i hūnā ʻia. Hoʻololi i ka JavaScript hoʻopili e prepopulate i ka māla me ke kumuwaiwai (i kēia hihia, e hoʻohana mākou i kahi code code). ʻAʻole mākou makemake e paʻakikī paʻakikī i kēia waiwai mai ka mea e kope mākou i kēia ʻaoʻao pae a kau i nā mea he nui aku. I kēia manawa hiki iā mākou ke kope wale i ka ʻaoʻao a hoʻoponopono wale i ka JavaScript.

Eia kahi laʻana me ka helu paʻamau i kau ʻia ma ke kahua.
code wufoo

Hiki iā ʻoe ke hoʻonohonoho i ke kumukūʻai kahua e hoʻohana nei i kahi querystring URL, pū kekahi, e hoʻomākaukau ai i ka waiwai. Penei e like ai:

http://username.wufoo.com/forms/form-name/def/field23=campaign1

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.