Default Dropdown value

Quick one!
Can someone point me in the direction of how to set a default value for the Drop Down field?

Thanks!

Got it. For anyone else new to JS and Plumsail the code is:

fd.rendered(function() {
fd.field('Province').value == 'SK';

});

You can find more information on how to manage fields with JavaScript in Plumsail Public Forms in the documentation:
https://plumsail.com/docs/forms-web/javascript/fields.html

1 Like

Typo correction:
fd.rendered(function() {
fd.field('Province').value = 'SK';

});