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

    How can I make a widget a mandatory question?

    Asked by ComplianceChief on November 09, 2015 at 01:26 AM

    In my IDTA Marketing Material Review Form I have used a widget for one of my questions. (City & Country)

    I made it mandatory but it doesn't work and the client initially has sent submissions without this information.

    We have had to edit the form after receiving it to place the information into it.

    How can I make the widget/question mandatory?

    Thanks

    Lisa

    mandatory question widget mandatory required widget
  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 09, 2015 at 04:30 AM

    Hello Lisa,

    I'm sorry for the trouble caused to you. 

    I did test your form and did not find any issue with that. You have configured the "GeoComplete" correctly and marked it as a required field. You have also added a condition where If the widget is not filled, the "Submit" button will not be visible. I was not able to submit your form without input data in the GeoComplete widget. Please check the screenshot below:

     

    Have you embedded your form in any web page? Please share the webpage URL and we will take a look. Sometimes if there is a code conflict, the validation does not trigger and to solve this problem, you should embed your form using its iFrame embed code. The following guide should help you how to grab your form's iFrame embed code:  http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    We will wait for your response.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by EltonCris on November 09, 2015 at 10:27 PM

    Hello Lisa,

    Like my colleague, I also can't reproduce the problem. When I submit the form without filling the geo widget, it triggers the required validation error.

    I have also performed a test:

    Yes, your idea about the condition is also a good addition. That would also ensure that the form cannot be submitted unless the geo widget is filled.