Require condition: Field is marked as mandatory

  • RFOneVision
    Asked on February 15, 2018 at 10:11 AM

    I had two 'Accommodation' fields - one is mandatory and has the radio button selections of accommodation type.

    The second one is what the accommodation will cost. It is showing as mandatory even though it isn't. I have turned it's 'required' flag on and off to try and reset it.

    Can you fix this for me?

    Thanks

    Jotform Thread 1385568 Screenshot
  • RFOneVision
    Replied on February 15, 2018 at 10:12 AM

    Also, the 'Balance' field that is identical to all the other calculated fields, refuses to show two decimal points. As above. Can that be fixed?

    Thanks

  • aubreybourke
    Replied on February 15, 2018 at 11:43 AM

    I had two 'Accommodation' fields - one is mandatory and has the radio button selections of accommodation type.

    The second one is what the accommodation will cost. It is showing as mandatory even though it isn't. I have turned it's 'required' flag on and off to try and reset it.

    You are conditionally requiring the second accommodation field. You will need to de-select it.

    For example:

    15187122309xs7f Screenshot 10

     

    Also, the 'Balance' field that is identical to all the other calculated fields, refuses to show two decimal points. As above. Can that be fixed?

    The reason for this is because you have  conditions on the balance field that are not set the same way as the calculation fields. To make it work you need to configure the two conditions to show empty decimal places.

    For example:

    15187129332icpw Screenshot 21

    1518712948dzzz8 Screenshot 32

     

  • RFOneVision
    Replied on February 15, 2018 at 7:13 PM

    Sorry - I'm doing a 'man' look, and just cannot see the 'Maths functions; Options' option in the conditions screen. It's obviously what I need though. I can see the 'Options' option in the widget settings, but not the conditions settings. Please help! :)

    Also I will turn of that 'Accommodation' condition - thanks. However, because I have quite a few calculations, I would like to do a final check before they submit the form that they have selected at least one meals option - ie that 'Total meals' is not zero. However that's a hidden field. Do you have a suggestion about how I could inform the user that they need to select at least one meals option?

    Ideally, I would like the count of meals options to equal the count of people entered in the configurable list widget.

    Thanks

  • Elton Support Team Lead
    Replied on February 15, 2018 at 9:48 PM

    When you select "Calculate a field's value" in the DO statement, you'll be able to see the calculation box. Click the 3 dots ... to reveal the options you're looking for.

    Here's a visual guide:

    Require condition: Field is marked as mandatory Image 1 Screenshot 20

    You still have to do that in the condition. Example, if the total is less than 1, show a text that says "Please select atleast one meal". You can add text using the Text element.

    It is not possible to dynamically change the count of the configurable list widget base on the user's input from the other field. They will have to manually click the add button to add more fields.

  • RFOneVision
    Replied on February 15, 2018 at 10:03 PM

    Thanks - I knew I wasn't looking where I should have. All good.

    About the configurable list widget, I don't need to dynamically expand it. I actually want to know how many people are in the list - ie how many times (+1) that they've clicked 'Add'. 

    Thanks

  • Ashwin JotForm Support
    Replied on February 16, 2018 at 3:22 AM

    I have moved your question related to configurable list widget to a new thread so that we can address it separately. You will be answered in the following thread:   https://www.jotform.com/answers/1386578