Added a custom switch control to a form but it is only displaying a checkbox

I’ve added a custom-switch control to a form, but on my published page it is only displaying a check-box. I’m guessing that I have not yet upload the correct CSS or library file to my server, which file is required? (and where can I find it?)

<div class="col">
                        <div class="custom-control custom-switch">
                          <input class="custom-control-input" type="checkbox" value="" id="checkbox1" name="checkbox1">
                          <label class="custom-control-label" for="checkbox1">Onboard Complete</label>
                        </div>
                      </div>

Hello,
The file required to be uploaded is the bootstrap 4 CSS file, if you are using the local version.
Or it might be browser cache issue, so try clearing the cache and reload the page.

1 Like

I reloaded those file to be sure, then tried it in an incognito session. Worked as anticipated!

Thank you.

1 Like