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

  • Profile Image
    Deralict
    Asked on January 08, 2015 at 06:59 PM

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

  • Profile Image
    ashwin_d
    Answered on January 08, 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!

  • Profile Image
    TitusN
    Answered on January 26, 2015 at 06:01 AM

    Hello, 

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

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

    Cheers!