Jump to content
  • 0

Place Some Fields of a Submission Form in a Container that is Scrollable



1 answer to this question

Recommended Posts

  • 0



You can do this with a bit of CSS.


1)     On your DataPage, add two HTML blocks and place all of the fields you want to place in the container between these HTML blocks.


1)     Disable the HTML editor on both of these HTML blocks. On the first HTML block, add an opening div tag:



2) Then, place the closing div on the second HTML block:




3)     Preview your DataPage and Inspect Element on the DataPage. Hover your mouse over the area where you placed the HTML blocks and you should see a container containing the entire group of fields you placed between these blocks:



Take note of the class name (in this case, cbFormBlock11)


4)     Back to your DataPage configuration, add a Header & Footer and disable the HTML editor of your header.

5)     Paste the following code, but make sure to change the “cbFormBlock11” to whatever is the class name as mentioned in step 3.



    height: 300px !important;

    overflow: scroll !important;

    margin: 10px !important;

    border: 1px solid black !important;




You can change the styling based on your preference.


6)     Save your changes.

Your DataPage should look something like this.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...