Feature request: Set the default value of Bootstrap Switch Field widget?

  • Deralict
    Asked on January 8, 2015 at 6:59 PM

    There is no setting for default value for this widget, so can I use some custom javascript?

  • Ashwin JotForm Support
    Replied on January 8, 2015 at 10:54 PM

    Hello Deralict,

    Unfortunately it is currently not possible to set the default value of the "Bootstrap Switch Field" widget. Let me create a feature request and send it to our back end team. We will get back to you as soon as we have any update from them.

    No you cannot add custom JavaScript in your form or widget as for security reasons its already disabled. You can download your form's full source code and then add the required custom JavaScript code. Please be noted that you will not be able to import the source code back in JotForm and you will have to host it yourself.

    Thank you!

  • TitusN
    Replied on January 26, 2015 at 6:01 AM

    Hello, 

    We have implemented this feature - you can set the default state from the widget settings: 

    Feature request: Set the default value of Bootstrap Switch Field widget? Image 1 Screenshot 20

    Please reintegrate the widget on your form and check it out - share your experience with us. 

    Cheers!