How can I update Multiple Choice option with a value from a field?

  • gadym
    Asked on May 11, 2025 at 3:58 AM

    I want to create a form that has 2 fields that relevant to a user and I want 6 parts like this for 6 users.

    user1 checklist field

    (user1 ) large text field

    user2 checklist field

    (user2) large text field

    user3 checklist field

    (user3) large text field

    etc...

    and in the bottom I will have multichoice field with all the users names.

    • user1
    • user2
    • user3

    ....

    and a SEND button.

    If I fill one of the two fields on each user, it will do a check on the same value in the multichoice field.

    for example,

    If I put even a one letter in the text field of user2

    then on the multichoice it will show V on option user2


    • user1

    [V] user2

    • user3


    also,

    when I entered in an EDIT mode to the form I want that this condition will not work and all the selections that was made because of the condition will be unchecked so the user decide if to check them or not.

    I tried several approaches , each one failed.

    I put hidden fields...condtion with calculated field with "," ...

    What will be your approache ?



  • Jeric JotForm Support
    Replied on May 11, 2025 at 4:04 AM

    Hi gadym,

    Thanks for reaching out to Jotform Support. I understand what you'd like to do, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.

    Thanks for your patience, we appreciate it.

  • gadym
    Replied on May 12, 2025 at 1:28 AM

    Any luck?

  • Jeric JotForm Support
    Replied on May 12, 2025 at 2:20 AM

    Hi gadym,

    Are you trying to update the Multiple Choice options with data entered from a particular field, as shown below:

    How can I update Multiple Choice option with a value from a field? Image 1 Screenshot 20If so, unfortunately, the options on the Multiple Choice field must be predefined, and there's no conditional logic to be able to copy a field's value as an option to a Multiple Choice field. If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Once we hear back from you, we'll be able to help you with this.

  • gadym
    Replied on May 12, 2025 at 2:54 AM

    no...you got it all wrong...never mind..

    but I think I will brake the multichoices to several multichoices and then it will work for me.

    I have now one problem

    I want to clear the selections of a multichoice using a condition

    how can I do that?

    How can I update Multiple Choice option with a value from a field? Image 1 Screenshot 20

  • gadym
    Replied on May 12, 2025 at 3:09 AM

    I understand now that I cant do that because it will cause a conflict with another condition that check this multichoice

    I want to do another approach

    in order to do that I need to do a condition that say

    if A and (if any B or C)...then

    Why I cant do that?

    -------------------------

    To simplify my request, you need to have a form like this:


    user1mc (multichoice : let say choose fruit from the list)

    user1text (write remarks)

    usermultichoicesendemail (if checked, send email to someone)


    when I enter the first time , if I choose a fruit and/or I write remark, then usermultichoicesendemail will be checked (let say on the first option out of two)


    when I entered in "edit" mode (I can than check that by url request),

    I want, usermultichoicesendemail to be cleared from checks.


    Since the user1mc and or user1text still have values , so usermultichoicesendemail thinks he need to be checked...but I want to clear that on edit mode...

    So, I wanted to ask

    If form is on edit mode and if(user1mc is not empty or user1text is not empty) then

    clear usermultichoicesendemail from checks...


    How can I reach that senario?




  • Mahmoud JotForm Support
    Replied on May 12, 2025 at 6:03 AM

    Hi gadym,

    You can achieve this using conditions and the Get Form Page URL widget. Let me show you how:

    First, add a condition to select to send email if Multiple choice and short text are filled by the user.

    1. In Form Builder, in the orange navigation bar at the top of the page, click on the Settings.

    2. In the menu on the left side of the page, click on Conditions, and then select Update/Calculate Field. (If you already have a condition set, first click on Add Condition, then select Update/Calculate Field.)

    How can I update Multiple Choice option with a value from a field? Image 1 Screenshot 80

    3. Add a condition as you can see below, and click on Save.

    How can I update Multiple Choice option with a value from a field? Image 2 Screenshot 91

    Now, create a condition to send an autoresponder email if the Send Email field is set to Send:

    How can I update Multiple Choice option with a value from a field? Image 3 Screenshot 102

    Add the Get Form Page URL widget to your form:

    1. In Form Builder and click on Add Element on the upper-left side of the page.
    2. Under the Widget tab, search for and add Get Form Page URL to your form.

    How can I update Multiple Choice option with a value from a field? Image 4 Screenshot 113

    Add the last condition to select Don't send if you're in edit mode:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on the Settings.

    2. In the menu on the left side of the page, click on Conditions, and then select Update/Calculate Field. (If you already have a condition set, first click on Add Condition, then select Update/Calculate Field.)

    3. Add a condition as you can see below, and click on Save.

    How can I update Multiple Choice option with a value from a field? Image 5 Screenshot 124

    Check out the result below for the user submission:

    How can I update Multiple Choice option with a value from a field? Image 6 Screenshot 135

    This is what the edit mode looks like:

    How can I update Multiple Choice option with a value from a field? Image 7 Screenshot 146

    Feel free to Clone my Demo Form for more details.

    Reach out again if there’s anything else we can help you with.

  • gadym
    Replied on May 12, 2025 at 2:10 PM

    So you basically tell me I can't do a clear/unselect to multichoice, but I can add another option to field...That's bad

  • Bojan Support Team Lead
    Replied on May 13, 2025 at 3:12 AM

    Hi gadym,

    To clear single/multiple choice fields, you need to insert 0 into them with conditional logic. Here's how you can do this:

    1. Open your Form Builder and click on the Settings at the top orange bar.
    2. Select Conditions from the left menu.
    3. Click on Add Condition button and then choose Update/Calculate Field.

    How can I update Multiple Choice option with a value from a field? Image 1 Screenshot 30

    You can configure your condition like this:

    How can I update Multiple Choice option with a value from a field? Image 2 Screenshot 41

    Feel free to check out my test form and clone it to your account to see the conditions.

    If you would like to do something like if A and (if any B or C), then you'll need to add one extra field to your form. You can add, for example, a number field, and call it a helper field, or something similar. Then, you can use the same Update/Calculate Field condition to check 'if any B or C' and add 1 to the number field if the condition is true. If not, the field will be empty.

    Then, you can create another condition to check if A and if the helper field is 1.

    Give it a try and let us know how it goes

Your Answer