Drop Down on Landing Page in Adobe Campaign Standard | Community
Skip to main content
Level 2
December 10, 2018
Solved

Drop Down on Landing Page in Adobe Campaign Standard

  • December 10, 2018
  • 16 replies
  • 16274 views

Hi Campaign Folks,

I need to understand how to use a field as a Dropdown(Consider an example Country having 20+ enumerations stored in the Schema) on a Landing Page in Adobe Campaign Standard.

I am trying to map the fields, but the predefined values are not populating as a dropdown, neither I have an option to change the HTML Type of the field to something close to dropdown.

It's pretty easy in Adobe Campaign Classic, use a combo box, select the field, in field properties click on the option Initialize  the list of values in database and the job was done.

Can you help me how that is done in ACS and any response on this would be highly appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by El_Loco

Hi,

If it's any use please see below the code that we use for our country drop down list. I have removed the majority of the options for this example, but we basically have an option for each available country that maps using the country code.

16 replies

El_Loco
El_LocoAccepted solution
Level 5
December 11, 2018

Hi,

If it's any use please see below the code that we use for our country drop down list. I have removed the majority of the options for this example, but we basically have an option for each available country that maps using the country code.

Level 2
December 11, 2018

Thank you soo much

bableenk6370391
Level 2
April 9, 2019

Hi

I have created a profile acquisition landing page with this kind of dropdown list option and one checkbox for unsubscription. But i have kept the drop down list as non-mandatory field, but still when i am opting only checkbox, it is landing me to the error page instead of confirmation page.

Can you please help me out?

Regards

Bableen

El_Loco
Level 5
April 9, 2019

Hi Bableen,

Does it work correctly if you select a country, then tick the checkbox and submit?

bableenk6370391
Level 2
April 9, 2019

Hi

Yes , It is working only when we are selecting the drop down list . But i want that without seelcting the list also it will submit the response.

bableenk6370391
Level 2
April 9, 2019

if i want that only unsubscribe option gets selected and it lands on the confirmation page .what would be the appropriate approach ?

El_Loco
Level 5
April 9, 2019

Can you provide a code snippet of the drop down field?

bableenk6370391
Level 2
April 9, 2019

<select class="stacked required nl-dce-done" type="cusInterest" id="interest" name="interest" data-nl-ismandatory="false" data-nl-bindto="xpath" data-nl-checkboxbehavior="subscription" data-nl-xpath="/context/profile/cusInterest" data-nl-label="cusInterest" data-nl-type="string" 0px="" 8px="" position:="" static="" width:="" 448px="" left:="" top:="" background-color:="" fafafa="" background-position:="" left="" top="" border:="" solid="" eeeeee="" height:="" 40px="" background-repeat:="" repeat="">

<option value="Weekly_contact">Weekly</option>

<option value="Monthly_contact">Monthly</option>

<option value="Quaterly_contact">Quaterly</option>

</select>

El_Loco
Level 5
April 9, 2019

Try adding an additional blank option. I suspect it's struggling with passing no value if you don't select an option.

Add the following above the other options:

<option value="" selected="selected"></option>

*You also need to clean up the mark up and add the style tag back in. All of the following is rendered useless:

0px="" 8px="" position:="" static="" width:="" 448px="" left:="" top:="" background-color:="" fafafa="" background-position:="" left="" top="" border:="" solid="" eeeeee="" height:="" 40px="" background-repeat:="" repeat=""

bableenk6370391
Level 2
April 9, 2019

I have added the blank option as you told me. So the following result is showing :