Display more raws in a multiple select contactform label?

2 replies · opened Mar 17, 2020

DDcRodMar 17, 2020

Hi,

I need to display over the 4 rows that appears in the multiple contactform:
form-elements.html / Form Controls / EXAMPLE MULTIPLE SELECT

<div class="col-12 bottommargin-sm">
<label for="template-contactform-multiple-select">Protections multiples</label>
<select id="template-contactform-multiple-select" name="template-contactform-multiple-select[]" class="selectpicker form-control" multiple>
<option value="Multirisques Professionnelle">Multirisques Professionnelle</option>
<option value=""></option>
</select>
</div>


Thank you for solution
Regards

SSemicolon WebSTAFFMar 17, 2020

Hello,

Simply add the size Attribute to the <select> Element depending on the Number of Rows you want to display. For displaying 8 Rows in the Multi-Select Element, simply add the size="8" Attribute. Example:

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

DDcRodMar 18, 2020

Nice!
Thank you
Regards

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard