logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
dekaleict  
#1 Posted : Wednesday, March 7, 2018 1:50:54 PM(UTC)
dekaleict

Rank: Newbie

Groups: Registered
Joined: 11/17/2016(UTC)
Posts: 0
Man
Netherlands
Location: Zwolle

This is the dropdownlist on the cartcheckout:

<div class="leftside checkoutbillformcountrydiv">
<h6>@ResourceKey("General.lblCountry")</h6>
@CountrySelectList(info, "genxml/billaddress/genxml/dropdownlist/country", "required name='billcountry' class='required' class='checkoutbillformcountry'")

I want to have the dropdown prefilled with 'Netherlands', how to solve that?
leedavi  
#2 Posted : Wednesday, March 7, 2018 2:54:15 PM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 290
United Kingdom
Location: France

Was thanked: 27 time(s) in 27 post(s)
Becuase the selection of the country reloads the region list you need to do this using jQuery to select the country after page load.

I would create a bespoke template for "NBS_Checkout_head.cshtml" at portal level (so it doesn;t get overwritten on upgrade) and add some JS with ondocumnet to select "NL"
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2018, Yet Another Forum.NET
This page was generated in 0.073 seconds.