Drop Down for the list of zip codes in WebApp for adobe campaign classic

Avatar

Avatar

sachincs1991

Avatar

sachincs1991

sachincs1991

23-11-2020

Hi Team,

 

I wanted to create a list of zipcodes in webApp in Adobe campaign classic and these zip codes are provided for the selection in the web page rather than the customers providing wrong zip codes or in valid zip codes.

 

Kindly suggest and provide me the codes if you have.

 

Thanks,

Sachin 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ParthaSarathy

Avatar

ParthaSarathy

ParthaSarathy

23-11-2020

Hi @sachincs1991 ,

You can achieve this in 2 ways, either by creating enumeration for zipcode in classic and hardcoding the zipcode value in it, or hardcoding the zipcode value in HTML content in webapplication.

Eg:

<html>
<body>
  <label>Zipcode:</label>
  <select id="zipcode" name="zipcode">
    <option value="city1">600001</option>
    <option value="city2">600002</option>
    <option value="city3">600003</option>
    <option value="city4">600004</option>
  </select>
  <input type="submit">
</body>
</html>
 

Regards,

ParthaSarathy S

Answers (3)

Answers (3)

Avatar

Avatar

sachincs1991

Avatar

sachincs1991

sachincs1991

08-12-2020

Hi @Sukrity_Wadhwa ,

 

Required the exact code to make it work.

 

Thanks,

Sachin

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

07-12-2020

Hi @sachincs1991,

Were you able to resolve this query or do you still need more help here? Do let us know.

Thanks!

Avatar

Avatar

_Manoj_Kumar

MVP

Avatar

_Manoj_Kumar

MVP

_Manoj_Kumar
MVP

23-11-2020

Hello @sachincs1991 ,

 

You can use Select 2 JS plugin to make the dropdowns searchable.

 

Here is the link to the documentation: https://select2.org/searching

 

Thank,

Manoj