Terms and conditions: How to provide a link to them

  • Profile Image
    PeterFoulds
    Asked on February 26, 2018 at 05:16 AM

    Hi

    Currently designing my first JotForm which is a simple contact us form.  I have included an accept T&Cs checkbox but I can't seem to get the hyperlink to work.  Can you let me know what I'm doing wrong?

  • Profile Image
    aubreybourke
    Answered on February 26, 2018 at 09:45 AM

    All standard fields and widgets are unable to contain any HTML. This is a recent adjustment we have made to increase security. Specifically against XSS attacks.

    The only exceptions are the text field and the terms and conditions widget.

    You should use the terms and conditions widget instead of a checkbox:

    https://widgets.jotform.com/widget/terms__conditions

    Or if you prefer you could use the short scrollable terms widget instead:

    https://widgets.jotform.com/widget/short_scrollable_terms

  • Profile Image
    PeterFoulds
    Answered on February 26, 2018 at 04:22 PM

    Thank you - the terms and conditions widget should work fine.  Could you help me with the CSS code to a) change the font type and size and b) the colour of the hyperlink text.


  • Profile Image
    aubreybourke
    Answered on February 26, 2018 at 04:46 PM

    Here's some CSS to help you get started quickly:

    a{
    color: black !important;
    }


    #_label{
    font-family: Serif !important;
    font-size: 20px;
    }


    Here the hyperlink is black. You can specify any colour name from this reference:

    https://www.w3schools.com/colors/colors_names.asp

    The font is changed to Serif.

    You can use any of the fonts listed here:

    https://www.w3schools.com/cssref/css_websafe_fonts.asp

    If you require a larger selection of fonts this is possible with Google fonts:

    How-to-Use-Google-Fonts-in-your-Form

    And the font size is twenty pixels.


    It will look like this:

    15196813289k2yz.png