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

    throw error if not atleast one list if filled

    Asked by spigroup on January 19, 2014 at 02:52 AM

    Hi, 

    I've 5 popular awards to be voted, out of 5 atleast one of them must be filled, Now the form is being submitted even without filling anything.

     

    Thanks in advance!

    Regards,

    Raj.

    Page URL:
    http://form.jotformeu.com/form/40180545290348

    thanks
  • Profile Image
    JotForm Support

    Answered by jonathan on January 19, 2014 at 05:10 AM

    Hi Raj,

    Referring to this form http://form.jotformeu.com/form/40180545290348 , none of the Matrix fields are set us a *Required field. This allows the submission of the form without any of the questions filled in.

    Unfortunately, Matrix fields do NOT have *required property so you cannot set this. What I suggest you can do instead is add an option confirmation field with its required property set to ON.

    An agreement checkbox or Radio option can do this. This way the form will prompt a message in case no fields are filled in at all.

    You can also used condition logic to hide the submit button if none of the fields are filled in. The user will not be able to submit the form.

    Hope this help. Please inform us if you need further assistance.

    Thanks.

     

  • Profile Image

    Answered by spigroup on January 28, 2014 at 08:07 AM

    Hi Jonathan,

    As you said in last replay...

    1.You can also used condition logic to hide the submit button if none of the fields are filled in. The user will not be able to submit the form.

    Unfortunatly when i open the condition logic window it is not showing up the 1st 4 Matrix fields in the i condition(screenshot attached), so how can i set the condition ?

    2.An agreement checkbox or Radio option can do this. This way the form will prompt a message in case no fields are filled in at all.

    I didn't understand the above logic.

    Please eloberatet the above options if possible.

     

    Thanking you in advace.


  • Profile Image
    JotForm Support

    Answered by jonathan on January 28, 2014 at 08:30 AM

    Hi Raj,

    I have a mistake on this and was not able to get back to you about it right away. I truly apologize for my inconsistency.

    ---

    Unfortunately, Matrix fields do NOT have *required property so you cannot set this. What I suggest you can do instead is add an option confirmation field with its required property set to ON

    My statement on the Matrix required field was false because, it CAN be set as *Required field with 3 possible options now

     (click on to image below to enlarge)

     

    It seems that your form's Matrix field just needs to be updated with the new functionality. Because currently, it is still using the previous version with only YES/NO required option.

    Please try to update again the configuration of *Required fields for each of the Matrices field and save the form. Test submit it again afterwards to confirm if correct required message warning will trigger.

    Please inform us if you need further assistance.

    Thanks!

     

  • Profile Image

    Answered by spigroup on January 28, 2014 at 09:16 AM

    Thanks for your quick and great replay!

    By the wat that solves 50% of my problem,

    Till now the form was submitting with out any field filled up, But now it is validating every matrix to be filled.

    the requirement is that the user has to fill at least one matrix completetly out of 5. so the form should allow the user when he fills a single category completly.

    That is where a condition logic required, but the logic window is not showing up the parameters in "IF" statement.

    Thanking you in advance!

  • Profile Image
    JotForm Support

    Answered by jonathan on January 28, 2014 at 09:39 AM

    Hi,

    Did you setup the configuration to use "Required at least one answer" ? 

    I tested this on the cloned form, I could not submit the form if there there is no at least 1 answer.

    Test this form http://form.jotform.me/form/40273445612449?

    I think as is now, the form settings can already suffice your requirement of "throw error if not at least one is filled" 

    Please test my form and provide us your feedback on it.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by jonathan on January 28, 2014 at 09:41 AM

    Hi,

    To clarify also, I am thinking that we may not need to use the condition logic anymore since the *required option of Matrix field already meets the requirement. 

    Please correct me if this is not the case.  =)

    Thanks!

  • Profile Image

    Answered by spigroup on January 28, 2014 at 01:12 PM

    Hi,

    You are not trying to understand my requirement, If i use "*required option of Matrix field" the user needs to fill every matrix and every field,
    and
    what i want is the user can able to submit the form even if he fill any one of the matrix and he can submit the form without filling remaining 4 matrixes.
    I tested  with option *required option of Matrix field on every matrix.
    Thanking you in advance!
    regards,
    Raj
  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 28, 2014 at 01:42 PM

    Hello Raj,

    If I understand your requirement correctly, you want to ensure that at least one matrix is filled and the remaining can be left empty. Is that correct?

    It is possible to achieve by setting the value of the required field as "Require at least one answer" in your matrix question. Please check the screenshot below for the steps to achieve this:

    I have cloned your form and implemented the changes to ensure that at least one matrix is filled. Please take a look at the following form: http://form.jotformpro.com/form/40275062973961?

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by spigroup on January 28, 2014 at 01:43 PM
    Hi,
    You are not trying to understand my requirement, If i use "*required option
    of Matrix field" the user needs to fill every matrix and every field,
    and what i want is the user can able to submit the form even if he fill any
    ...
  • Profile Image
    JotForm Support

    Answered by jonathan on January 28, 2014 at 02:51 PM

    Thank you for explaining further. We apologize for not getting it sooner.

    I back read your explanation on the condition logic you wanted to do

    the requirement is that the user has to fill at least one matrix completetly out of 5. so the form should allow the user when he fills a single category completly.

    If this is the condition needed, it will probably not work because the rules will require any of the Matrices to be NOT required (because only 1 is required to be completely filled in).

    So this is really off at this time.

    Also the Matrix field is not useable in the Condition Logic. This is the reason we could not see it in the conditions wizard.
    I think the most probable reason why it is not "conditionable" is because its *Required property already can do it.

    I can only suggest that you work on the *required field rules as the condition to use.

    ---

    Another method you may want to check is the one describe here

    -How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    what I am suggesting is, to add a spread multiple options on top using Radio Options button.

    Base on the selected option, only the Matrix base on the option will be shown. This means the user will only be able to see one Matrix and should complete all the question.

    The downside still is, if the *Required is set to "No", the user can still be able to not complete answer all question.

    Hope this finally answers your question. Please contact us again anytime if there is more we can assist you with.

    Thanks.

     

  • Profile Image

    Answered by spigroup on January 29, 2014 at 02:06 AM

    Thanks i almost there,

    But instead of making *required every row , is there any way i can insist the user to fill evey cell in the matrix, bcaz i need the information of every cell of atleast one matrix.

     

    Thnaks in advance!

    Regards

    Raj.

  • Profile Image
    JotForm Support

    Answered by ardy0689 on January 29, 2014 at 04:29 AM

    Hello Raj, Unfortunately, there is no "Required" settings yet to force users to fill every cell on each row of the Matrix. The only settings that is close is as you know "Required an Answer on Every Row" which would immediately accept each row as long as there is atleast one cell that is filled.

    We will gladly escalate a feature request for this however, please create a new thread for this request so that we can escalate this feature request to our developers. Thank you