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

    Is it possible to make two box's mandatory, but only one of them have to be filled in order to submit?

    Asked by Evolutionary on February 16, 2014 at 09:48 AM

    Is it possible to make two box's mandatory, but only one of them have to be filled in order to submit?

     

    It is beacuse we want people to be able to either upload the file or link to the file.

    mandatory
  • Profile Image
    JotForm Support

    Answered by jonathan on February 16, 2014 at 11:57 AM

    Hi,

    You can make use of the Radio options field (to give an either choice) and then use condition logic to show the input box.

    Please test this form http://www.jotformpro.com/form/40465058165960

    Inform us if this cannot work for you.

    Thanks.

  • Profile Image

    Answered by Evolutionary on February 16, 2014 at 01:08 PM

    Amazing thanks, where do i find condition logic

  • Profile Image

    Answered by pinoytech on February 16, 2014 at 01:27 PM

    Hi,

    While on edit mode of your form, go to “Setup & Embed” and click "Conditions" button.

    Please refer on this article for more detailed information.

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Feel free to contact us again if you need further assistance.

  • Profile Image

    Answered by Evolutionary on February 16, 2014 at 02:45 PM

    I would like it like Jonathan made it, but i cannot seem to make it do the same.

  • Profile Image
    JotForm Support

    Answered by jonathan on February 16, 2014 at 02:51 PM

    Hi,

    I was able to see the mistake in your condition. 

     

    Please revised it to like this instead

     

    Inform us if you need further assistance.

    Thanks!

  • Profile Image

    Answered by Evolutionary on February 16, 2014 at 03:01 PM

    when a try to make the last box, it doesn't wanna let me save it.

     

    EDIT:

    I deleted the whole box, and made it agien fixed now. Thanks for the help!

  • Profile Image
    JotForm Support

    Answered by jonathan on February 16, 2014 at 03:09 PM

    Hi, 

    I think you were able to get it right already. I see it working on your form http://www.jotform.com/40455423321343

    Inform us still does not work.

    Thanks

  • Profile Image

    Answered by Evolutionary on February 16, 2014 at 05:05 PM

    It is working, really nice feature now my problem is that people can skip, uploading/linking to a video.

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 16, 2014 at 05:39 PM

    Greetings, in this case you need to set those fields as required:

    I cloned your form, you can try my example here. Let us know if you need more help.

  • Profile Image

    Answered by Evolutionary on February 16, 2014 at 06:51 PM

    Alright, so it wont bug up but will simply choose the selected one as required.

  • Profile Image
    JotForm Support

    Answered by jonathan on February 16, 2014 at 07:31 PM

    Hi,

    I understand the limitation of the workaround I suggested. Of course, if the form user would still choose not to upload or add URL of Video after already selecting an option, then, they probably are not really intending to upload anything.

    So trapping them with the mandatory option is the method you can take. It does not do the "option only mandatory" you wanted though -- it is either you set only 1 as mandatory or both.

    How about if you just prevent the user from submitting the form if none of the 2 upload option is not used?

    You can achieved that using condition like this 

     

    Here is the test form http://www.jotform.me/form/40464348109454?

    What I did was use the Terms Condtion field as the common mandatory field. So, in the condition, if any of the rule is satisfied, the Terms field will be seen.

    If condition is not met, the Terms field is hidden, preventing the user from ever submitting the form.

    Tell us your feedback on this.

    Thanks.

  • Profile Image

    Answered by Evolutionary on February 17, 2014 at 09:50 AM

    Ouh this seems complicated..

  • Profile Image

    Answered by EliezerN on February 17, 2014 at 11:02 AM

    @Evolutionary

    You can simply clone the form of my colleague so that you do not have to do all that work. Here is my colleague's form: http://www.jotform.me/form/40464348109454

    Here is how to clone a form: How to clone an exisiting form from a URL

    Just make sure to use the URL of your own terms and conditions in the widget:

    Inform us if you need further help.

    Thanks

  • Profile Image

    Answered by Evolutionary on February 17, 2014 at 11:07 AM

    Hmm tried that, but seems like it does not have the settings he made?

  • Profile Image
    JotForm Support

    Answered by EltonCris on February 17, 2014 at 12:07 PM

    Hi,

    Sorry but what settings are you referring to? We'd appreciate if you could be more specific.

    --

    Just in case you mean the condition settings, you can check existing conditions on the condition wizard. Check this screenshot:

    If you're referring to the terms & conditions widget, it's on the 3rd to the last field on my colleague's form. Just click that field (click the part where the cursor turns in to cross or drag mode) then click the widget field cog icon like the following.

    Let us know should you have further questions.

    Regards!

  • Profile Image

    Answered by Evolutionary on February 28, 2014 at 07:11 PM

    I got it fixed thanks for the help. :)

  • Profile Image

    Answered by Carina on February 28, 2014 at 07:37 PM

    On behalf of my colleagues you are most welcome.

    Feel free to contact us if you need further assistance.