Drop Down on Landing Page in Adobe Campaign Standard

anurags23332948

10-12-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

bobbyjss

MVP

11-12-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.

Answers (15)

Answers (15)

bobbyjss

MVP

09-04-2019

Yes it should be possible. We use the same functionality for our country field on a profile acquisition landing page.

When a user chooses to unsubscribe, what is the next step? Does it link to the 'next page' or to an alternative unsubscription landing page?

bableenk6370391

09-04-2019

I am testing this on a live profile.

And according to you is it possible that without selecting any one field in profile acquisition landing page, it will work properly?

bobbyjss

MVP

09-04-2019

Are you testing this with a test profile or a live profile?

If the former, have you also added this extension to the test profile schema?

bobbyjss

MVP

09-04-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

09-04-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>

bableenk6370391

09-04-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

08-04-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