Autocomplete Fields with AEM Forms
Hello everyone, I would like to create a form using AEM Forms that when the user enters their zip code automatically fills in the address fields.
Is there any way to do this natively or via API?
Hello everyone, I would like to create a form using AEM Forms that when the user enters their zip code automatically fills in the address fields.
Is there any way to do this natively or via API?
Suppose the list of address fields against zip codes is limited. In that case, you can write a servlet to list the addresses against codes as elaborated here[0] (a similar use case) and then make an AJAX call from the form to the servlet
OR,
if the data might change frequently, you can use FDM[1][2] to prefill data based on an input field.
Also, this can be done using an external API anyways.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.