Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

In ConfiForms we try to use the same classes and styles as your Confluence uses. And ConfiForms forms look very native when used on Confluence pages.

...

Let' change the background color of the Text field on our form.

 

 

Image Removed

 



Image Added


The result will be


Image Added


ConfiForms Form Definition
formNamef
sashINLINE

 


background-color:grey;textfieldText Fieldtext

 

 

 

...


What if we want to change some colors or some other styles for the field values, when showing these values in the views

Here is an example of showing the values for the same field in TableView (valid for other views macros, such as: CardView, CalendaView, ListView)


ValueView macro has own CSS parameter which can be used similar to ConfiForms Field and ConfiForms Field Definition  CSS macro parameters


ConfiForms TableView
formNamef

border:1px dashed;margin:5px;padding:5px;color:green;textfield


For this we use the CSS property of the ConfiForms Field macro


Image Added


If you are curious the CSS for the above is

Code Block
border:1px dashed;margin:5px;padding:5px;color:green;