We have a form we use for submitting change requests which has datetime value which we show in a calendar view on another page.
We have one field used for Approval status which can be either 1, 2 or 3.
I am trying to change the colour of the calendar entry depending on this value but can't work it out. I am very new to confluence so not sure how to proceed.
Hi @Greg Cowan
Welcome to this community
Although you dont mention this, but I suspect the question is about ConfiForms app.
"calendar view" and "datetime" sound familiar
What you ask is possible - see https://wiki.vertuna.com/display/CONFIFORMS/Visual+customisations+in+ConfiForms+views+based+on+the+data+stored+in+the+fields+with+CSS+rules
Please make sure you see the "note" at the bottom of the page and use !important in your CSS styles (CSS rules on CalendarView require that)
Update: will cross reference another related question/answer https://community.atlassian.com/t5/Confluence-questions/Confiforms-Calendar-view-change-background-colour-of-calendar/qaq-p/1827797
Alex
Hi Alex,
Thanks for the quick response! Sorry yes it is the ConfiForms app. The page has the Calendview macro & is grouped by field DateRequired01. I have then created a CSS rule macro. I have attached what I have set but still showing the same.
I have watched the recording you added to a similar question. I have matched your settings but don't have the field definitions for the form noted on this page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Scratch that, I had = instead of :
It is working now! Thanks for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Filters in ConfiForms use : to separate field names/expressions from values
https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters
Glad you have figured it out! Please accept the answer ;-)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Greg Cowan Welcome to Confluence!
I don't believe that there are conditional rules that can be set on calendar entries. Although, it would be a great use case!
Here is a link to Calendar Documentation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.