What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Applying Conditions to Image Checkboxes

    Asked by Advolink1 on February 07, 2017 at 09:38 AM

    Regarding my conditional logic question, I need to be more specific.  I need to programatically select certain checkboxes based on values on the form.  For example, if Global Rescue Direct Membership is not blank, then check Physician checkbox, Labs checkbox, X-Ray checkbox, and Prescription checkbox. Can this be accomplished with this widget?  Can I get to the individual checkbox items and set them independently based on certain conditions?


  • Profile Image
    JotForm Support

    Answered by BJoanna on February 07, 2017 at 10:43 AM

    Can you please provide us ID of the form you are working on? Form that you provided on your other thread https://www.jotform.com/70197156336156, is currently unavailable.

    It is possible to update fields and pass values inside of the form with conditional logic Update/Calculate Field.

    How to Pass Field Value to Another Field?

    However please note that you can pass values only to fields like Text Box, Email, Text Area or Address field.

    More about conditional logic you can find inside of this guide:

    Smart Forms Using Conditional Logic

    Let us know if you need further assistance. 

  • Profile Image

    Answered by Advolink1 on February 07, 2017 at 11:45 AM

    Sure.  Here is the form:  https://form.jotform.com/70366005453147 



  • Profile Image
    JotForm Support

    Answered by BJoanna on February 07, 2017 at 12:30 PM

    Unfortunately this is not possible to achieve with Image Checkboxes widget. It would be possible to achieve with regular check box field, but in that case you would need to replace calculation values that you have set inside of your Global Rescue Direct Membership field with options that you would want to be passed to check box field. 

    Here is my demo form: https://form.jotform.com/70374995480972 

    I have set my condition like this.

    Calculation values of dropdown field  are set like this.

    Feel free to clone and test my form.


    Feel free to contact us if you have any other questions. 

  • Profile Image

    Answered by Advolink1 on February 07, 2017 at 01:02 PM

    Great!  I get it!  So, is there a way, using the regular checkbox widget, that I can implementthe use of an image?  People are so visual, so I tend to use pictures versus words.


  • Profile Image
    JotForm Support

    Answered by BJoanna on February 07, 2017 at 02:30 PM

    It is possible to add images to check box field. You can check this thread to see how that can be done: https://www.jotform.com/answers/934239 

    However in this case it will be hard, and most likely impossible to assign calculation values to dropdown field, because it had to contain HTML tag of image as well. I have tried but I was not able to pass values to checkbox field with images.

    Here is my sample form: https://www.jotformpro.com/form/70375207012950 

    You can clone my form and try to see if you can maybe find some workaround. I will also try to find it and I will let you know if I do. 

  • Profile Image

    Answered by Advolink1 on February 07, 2017 at 05:14 PM

    OK!  I found a workaround by making each checkbox value a single checkbox.  

    That piece works fine, but am having difficulty setting default value of each checkbox to "checked".  I reverted back to version 3 of Designer and was able to set each checkbox to "Selected" via Properties "Selected" value.   However, when I bring up the form, each of the checkboxes are still not checked by default even though I have set it to be "Selected".  

    The checkboxes appear when, appropriately, conditions are met to unhide each of the checkbox(es).    

    Is there a CSS code that I can set or something that will set the checkboxes to be selected and keep them that way?

    My form is https://www.jotform.com//?formID=70375102940146

    Denise Stephens   

  • Profile Image

    Answered by Ian on February 07, 2017 at 09:11 PM

    I had moved your question to a new thread https://www.jotform.com/answers/1059813

    Please follow that thread for further discussion