[Resolved] How to render labelfor to 'termsofservice'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 năm cách đây
Hi,
It seems that with certain skin we had created, the checkboxes should render a 'label for' which is obligatory. Since it is not rendered with label for, the checkboxes are not visible in the shopping cart and not in the terms of service agreement. How to change this ?
J.

<label for="termsofservice">Ik ga akkoord met de voorwaarden van deze dienst, en ik houd mij onvoorwaardelijk aan deze voorwaarden. </label>


for <input id="termsofservice" type="checkbox" name="termsofservice" alt="terms" /> in


if (Model.TermsOfServiceOnShoppingCartPage)
                    {
                    <div id="terms-of-service-warning-box" title="@T("Checkout.TermsOfService")" style="display:none;">
                        <p>@T("Checkout.TermsOfService.PleaseAccept")</p>
                    </div>
                    <div class="terms-of-service">
                        <input id="termsofservice" type="checkbox" name="termsofservice" alt="terms" />
                        @T("Checkout.TermsOfService.IAccept")
                        <span class="read" onclick="javascript:OpenWindow('@Url.RouteUrl("TopicPopup", new { SystemName = "conditionsofuse" })', 450, 500, true)">@T("Checkout.TermsOfService.Read")</span>
                    </div>
                    }
8 năm cách đây

<label for="termsofservice">@T("Checkout.TermsOfService.IAccept")</label>  
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.