CSS Option for Connection Fields in a Form Component.

Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

Screenshot for “CSS Option for Connection Fields in a Form Component.”

If you would like a CSS customization to change the display of a connected field in the format of a list drop-down follow the steps below.

Step 1

Within your form component, ensure your connected field is set to display as a dropdown list, as seen below.

Screenshot for “CSS Option for Connection Fields in a Form Component.”

Step 2

Add the following code to your CSS tab.

Text
.record-selector.drop-down-list {
    left: 50%;
    top: 0;
    right: 0;
    position: absolute;
    z-index: 10;
}

.view-record {
    float: left;
    width: calc(50% - 80px);
}

.add-record {
    float: right;
}

For this theme, I made the following changes to each class selector:

.record-selector.drop-downlist

I removed the 50% value on the left.

.view-record

I removed the width calculation and replaced it with 75%.

Feel free to edit these values until you get the display you want on your form.

Text
.record-selector.drop-down-list {
  left: 0;
  top: 0;
  right: 0;
  position: absolute;
  z-index: 10;
}

.view-record {
    float: left;
    width: 75%;
}

.add-record {
    float: right;
}
Screenshot for “CSS Option for Connection Fields in a Form Component.”

Original Community Post:

https://community.tadabase.io/t/can-someone-help-me-with-some-css/1850/2#:~:text=I%20feel%20like%20this%20is%20a%20bit%20hacky%20but%20maybe%20this%20is%20close%20to%20what%20you%E2%80%99re%20looking%20for%3F

Was this page helpful?

Something wrong or missing on this page? Tell us.