Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You don’t really need a new field type for that. You can put your T&C into the “help” text for the checkbox field, then use CSS to style that element to limit it’s size and show the scroll bars.

    Thread Starter gilesytheking

    (@gilesytheking)

    Thanks for the info, I managed to get this working, for anyone else looking to add a terms and conditions section to their site here are my steps. You can view the results on my website – https://members.go4it.com.cy

    – Add a new Field Group, I named mine Terms & Conditions.

    – Then add you Terms & Conditions text into the field group description. You will have to use some html tags to style the text.

    – Save the Field groups

    – Navigate to the newly created field group. Without a field in the group, It won’t display on the signup form. I created a placeholder field here. But you can add any other fields you want to create in your terms and conditions section.

    – This is an optional step, but will make your terms and conditions look better, especially if they are long and will reduce the amount of space they take up on the page.

    – You can add the following CSS code to your styles sheet. If your T&C’s text takes up more than 300px on the page, it will automatically create a scroll bar. Anything less than 300px will just display in the normal way. You can adjust the max-height of your display box to suit your form and page.

    .pdb-group-description {
    max-height: 300px;
    overflow: auto;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add new filed type’ is closed to new replies.