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

    Use a show/hide conditional logic with the submit button

    Asked by rsvpfree on February 22, 2015 at 07:55 AM

    I need to have a required textbox on my form, with a label such as "Company Name:"

    I want to have a checkbox underneath that, with text saying "I certify that I have permission to represent this company"

    The checkbox should be unchecked, but the user should be prevented from clicking the "Submit" button unless the checkbox is checked (with a suitable warning).

    The checkbox and its text should be as near as possible underneath the textbox above it.

    How can this be done?

    checkbox textbox name label
  • Profile Image

    Answered by Sean on February 22, 2015 at 10:28 AM

    I am happy to say that you can achieve this with the use of the show/hide conditional logic and adjust the spacing between fields. I have prepared a test form that matches your requirements.

    You can view it here:
    http://form.jotformpro.com/form/50524656289968?

    You can clone it via URL if you wish and make further changes. Do let us know if further assistance is needed.


    Cheers!



  • Profile Image

    Answered by rsvpfree on February 23, 2015 at 02:51 AM

    I have viewed the form you created, but cannot see how the 'vertical space' between the textbox and the line with the checkbox has been reduced. It is still much too big, and they look like 2 separate items, while what I wish is that the checkbox line be 'visually attached' to the line above it.

    I cloned your form and attempted to use Designer>CSS to reduce both padding and margin to 'zero', here is the URL is my altered version of your form:

    http://form.jotformeu.com/form/50531930242344

    but I see no reduction in margin and padding.

    Further help would be appreciated.

  • Profile Image
    JotForm Support

    Answered by Welvin on February 23, 2015 at 08:40 AM

    I have decided to move your last reply to a new thread since that was related to the spacing of the fields and the alignment which is unrelated to the original topic of this thread.

    Here's the new link: http://www.jotform.com/answers/520761.

    Thank you!