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

    Make Size Field Required if Quantity Entered. - YES see link

    Asked by AA_C on December 03, 2016 at 11:06 PM

    On my form 63315093011948 I have Size and Quantity fields, how can I make the Size field become required if a value is entered into QTY?

     

    Regards
    Robert
    AAC

  • Profile Image
    JotForm Support

    Answered by Chriistian on December 04, 2016 at 04:03 AM

    Hi,

    I understand you are using HTML to generate the Size and Quantity fields. Unfortunately, it is not possible to manipulate the properties of textboxes created using HTML with conditions. What I would recommend is to use simple or plain textboxes which can be easily manipulated with conditions.

    Regards.

  • Profile Image

    Answered by AA_C on December 04, 2016 at 08:23 PM

    Hi,

    So there is no workaround to accomplish this?!?!

    Even If I could generate a note saying "Size Required".

    Mind you I may be looking for a solution to a problem that may not exist, I won't know that until the form is used. Right now I'm using a pdf form until this one is working.

    Regards
    Robert
    AAC

  • Profile Image
    JotForm Support

    Answered by Chriistian on December 04, 2016 at 09:43 PM

    Please let me inform you that the conditions in Jotform are specifically designed to work with the fields that are available in the form builder. Custom fields that are created using HTML cannot be used for conditions.

    The only workaround I can suggest would be to download the full source code of the form so you can insert your own custom scripts that will allow you to make the Size and Quantity fields required. Here's a guide from StackOverflow on how to require a field using custom jQuery/javascript: jQuery Validation - require field only if another field is filled. You may also hire a freelancer from Upwork or Freelancer to make the changes for you.

    Please let us know if you need further assistance.
    Regards.

  • Profile Image

    Answered by AA_C on December 05, 2016 at 02:47 PM

    See thread:

    Can-I-replace-required-with-text-"Required"

    There is a way to do this

     

    Regards
    Robert
    AAC