This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.
I am struggling with changing field background color (and text color) with conditional expressions. Last time I did this was Max 4 and seemed a lot less complicated. Suggestions?
I have a 7.6 version available. Let me check. It used to be straight forward
Sent from the Yahoo Mail app. Get yours!
On Tue, Jan 23, 2018 at 9:41 AM, abourgoin2002@yahoo.com [MAXIMO]<MAXIMO@yahoogroups.com> wrote:
I am struggling with changing field background color (and text color) with conditional expressions. Last time I did this was Max 4 and seemed a lot less complicated. Suggestions?
#yiv4851371375 #yiv4851371375 -- #yiv4851371375ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4851371375 #yiv4851371375ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4851371375 #yiv4851371375ygrp-mkp #yiv4851371375hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv4851371375 #yiv4851371375ygrp-mkp #yiv4851371375ads {margin-bottom:10px;}#yiv4851371375 #yiv4851371375ygrp-mkp .yiv4851371375ad {padding:0 0;}#yiv4851371375 #yiv4851371375ygrp-mkp .yiv4851371375ad p {margin:0;}#yiv4851371375 #yiv4851371375ygrp-mkp .yiv4851371375ad a {color:#0000ff;text-decoration:none;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ygrp-lc {font-family:Arial;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ygrp-lc #yiv4851371375hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ygrp-lc .yiv4851371375ad {margin-bottom:10px;padding:0 0;}#yiv4851371375 #yiv4851371375actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4851371375 #yiv4851371375activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4851371375 #yiv4851371375activity span {font-weight:700;}#yiv4851371375 #yiv4851371375activity span:first-child {text-transform:uppercase;}#yiv4851371375 #yiv4851371375activity span a {color:#5085b6;text-decoration:none;}#yiv4851371375 #yiv4851371375activity span span {color:#ff7900;}#yiv4851371375 #yiv4851371375activity span .yiv4851371375underline {text-decoration:underline;}#yiv4851371375 .yiv4851371375attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv4851371375 .yiv4851371375attach div a {text-decoration:none;}#yiv4851371375 .yiv4851371375attach img {border:none;padding-right:5px;}#yiv4851371375 .yiv4851371375attach label {display:block;margin-bottom:5px;}#yiv4851371375 .yiv4851371375attach label a {text-decoration:none;}#yiv4851371375 blockquote {margin:0 0 0 4px;}#yiv4851371375 .yiv4851371375bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv4851371375 .yiv4851371375bold a {text-decoration:none;}#yiv4851371375 dd.yiv4851371375last p a {font-family:Verdana;font-weight:700;}#yiv4851371375 dd.yiv4851371375last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4851371375 dd.yiv4851371375last p span.yiv4851371375yshortcuts {margin-right:0;}#yiv4851371375 div.yiv4851371375attach-table div div a {text-decoration:none;}#yiv4851371375 div.yiv4851371375attach-table {width:400px;}#yiv4851371375 div.yiv4851371375file-title a, #yiv4851371375 div.yiv4851371375file-title a:active, #yiv4851371375 div.yiv4851371375file-title a:hover, #yiv4851371375 div.yiv4851371375file-title a:visited {text-decoration:none;}#yiv4851371375 div.yiv4851371375photo-title a, #yiv4851371375 div.yiv4851371375photo-title a:active, #yiv4851371375 div.yiv4851371375photo-title a:hover, #yiv4851371375 div.yiv4851371375photo-title a:visited {text-decoration:none;}#yiv4851371375 div#yiv4851371375ygrp-mlmsg #yiv4851371375ygrp-msg p a span.yiv4851371375yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4851371375 .yiv4851371375green {color:#628c2a;}#yiv4851371375 .yiv4851371375MsoNormal {margin:0 0 0 0;}#yiv4851371375 o {font-size:0;}#yiv4851371375 #yiv4851371375photos div {float:left;width:72px;}#yiv4851371375 #yiv4851371375photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv4851371375 #yiv4851371375photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4851371375 #yiv4851371375reco-category {font-size:77%;}#yiv4851371375 #yiv4851371375reco-desc {font-size:77%;}#yiv4851371375 .yiv4851371375replbq {margin:4px;}#yiv4851371375 #yiv4851371375ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv4851371375 #yiv4851371375ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv4851371375 #yiv4851371375ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv4851371375 #yiv4851371375ygrp-mlmsg select, #yiv4851371375 input, #yiv4851371375 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv4851371375 #yiv4851371375ygrp-mlmsg pre, #yiv4851371375 code {font:115% monospace;}#yiv4851371375 #yiv4851371375ygrp-mlmsg * {line-height:1.22em;}#yiv4851371375 #yiv4851371375ygrp-mlmsg #yiv4851371375logo {padding-bottom:10px;}#yiv4851371375 #yiv4851371375ygrp-msg p a {font-family:Verdana;}#yiv4851371375 #yiv4851371375ygrp-msg p#yiv4851371375attach-count span {color:#1E66AE;font-weight:700;}#yiv4851371375 #yiv4851371375ygrp-reco #yiv4851371375reco-head {color:#ff7900;font-weight:700;}#yiv4851371375 #yiv4851371375ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ov li a {font-size:130%;text-decoration:none;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ov ul {margin:0;padding:0 0 0 8px;}#yiv4851371375 #yiv4851371375ygrp-text {font-family:Georgia;}#yiv4851371375 #yiv4851371375ygrp-text p {margin:0 0 1em 0;}#yiv4851371375 #yiv4851371375ygrp-text tt {font-size:120%;}#yiv4851371375 #yiv4851371375ygrp-vital ul li:last-child {border-right:none !important;}#yiv4851371375
OK still works in 7.6
You know how to create conditional expressions, so I wont bother with that. (use a naming convention to make it easier to select later) Like WOPRIORITY1, WOPRIORITY2, WOPRIORITY3 etc
Create a Sigoption, if necessary or use the existing READ sigoption.
Select the textbox you want to be conditionalClick on PropertiesClick on AdvancedPut READ in the SigOption field (or your custom sigoption)Click on Configure Conditional PropertiesUnder Security GroupNew Row, Select Everyone( or whichever you desire)Under Conditions for Security GroupSelect Conditions (or new Row)Enter conditional expression
Under Property Values for each condtionCondition if TrueProperty is cssclass (all lower case)Value is two parts Background and textbg<color> <space> txt<color>
like (all lower case)bgred txtwhite bgwhite txtred
I know of several colors availablered, green, blue, yellow, orange, maroon, blackI am sure there are more, just not sure of the values
From: "abourgoin2002@yahoo.com [MAXIMO]" <MAXIMO@yahoogroups.com>
To: MAXIMO@yahoogroups.com
Sent: Tuesday, January 23, 2018 9:41 AM
Subject: [MAXIMO List] Conditional expressions
I am struggling with changing field background color (and text color) with conditional expressions. Last time I did this was Max 4 and seemed a lot less complicated. Suggestions?
#yiv8286754888 #yiv8286754888 -- #yiv8286754888ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8286754888 #yiv8286754888ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8286754888 #yiv8286754888ygrp-mkp #yiv8286754888hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8286754888 #yiv8286754888ygrp-mkp #yiv8286754888ads {margin-bottom:10px;}#yiv8286754888 #yiv8286754888ygrp-mkp .yiv8286754888ad {padding:0 0;}#yiv8286754888 #yiv8286754888ygrp-mkp .yiv8286754888ad p {margin:0;}#yiv8286754888 #yiv8286754888ygrp-mkp .yiv8286754888ad a {color:#0000ff;text-decoration:none;}#yiv8286754888 #yiv8286754888ygrp-sponsor #yiv8286754888ygrp-lc {font-family:Arial;}#yiv8286754888 #yiv8286754888ygrp-sponsor #yiv8286754888ygrp-lc #yiv8286754888hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8286754888 #yiv8286754888ygrp-sponsor #yiv8286754888ygrp-lc .yiv8286754888ad {margin-bottom:10px;padding:0 0;}#yiv8286754888 #yiv8286754888actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8286754888 #yiv8286754888activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8286754888 #yiv8286754888activity span {font-weight:700;}#yiv8286754888 #yiv8286754888activity span:first-child {text-transform:uppercase;}#yiv8286754888 #yiv8286754888activity span a {color:#5085b6;text-decoration:none;}#yiv8286754888 #yiv8286754888activity span span {color:#ff7900;}#yiv8286754888 #yiv8286754888activity span .yiv8286754888underline {text-decoration:underline;}#yiv8286754888 .yiv8286754888attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8286754888 .yiv8286754888attach div a {text-decoration:none;}#yiv8286754888 .yiv8286754888attach img {border:none;padding-right:5px;}#yiv8286754888 .yiv8286754888attach label {display:block;margin-bottom:5px;}#yiv8286754888 .yiv8286754888attach label a {text-decoration:none;}#yiv8286754888 blockquote {margin:0 0 0 4px;}#yiv8286754888 .yiv8286754888bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8286754888 .yiv8286754888bold a {text-decoration:none;}#yiv8286754888 dd.yiv8286754888last p a {font-family:Verdana;font-weight:700;}#yiv8286754888 dd.yiv8286754888last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8286754888 dd.yiv8286754888last p span.yiv8286754888yshortcuts {margin-right:0;}#yiv8286754888 div.yiv8286754888attach-table div div a {text-decoration:none;}#yiv8286754888 div.yiv8286754888attach-table {width:400px;}#yiv8286754888 div.yiv8286754888file-title a, #yiv8286754888 div.yiv8286754888file-title a:active, #yiv8286754888 div.yiv8286754888file-title a:hover, #yiv8286754888 div.yiv8286754888file-title a:visited {text-decoration:none;}#yiv8286754888 div.yiv8286754888photo-title a, #yiv8286754888 div.yiv8286754888photo-title a:active, #yiv8286754888 div.yiv8286754888photo-title a:hover, #yiv8286754888 div.yiv8286754888photo-title a:visited {text-decoration:none;}#yiv8286754888 div#yiv8286754888ygrp-mlmsg #yiv8286754888ygrp-msg p a span.yiv8286754888yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8286754888 .yiv8286754888green {color:#628c2a;}#yiv8286754888 .yiv8286754888MsoNormal {margin:0 0 0 0;}#yiv8286754888 o {font-size:0;}#yiv8286754888 #yiv8286754888photos div {float:left;width:72px;}#yiv8286754888 #yiv8286754888photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv8286754888 #yiv8286754888photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8286754888 #yiv8286754888reco-category {font-size:77%;}#yiv8286754888 #yiv8286754888reco-desc {font-size:77%;}#yiv8286754888 .yiv8286754888replbq {margin:4px;}#yiv8286754888 #yiv8286754888ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8286754888 #yiv8286754888ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8286754888 #yiv8286754888ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8286754888 #yiv8286754888ygrp-mlmsg select, #yiv8286754888 input, #yiv8286754888 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8286754888 #yiv8286754888ygrp-mlmsg pre, #yiv8286754888 code {font:115% monospace;}#yiv8286754888 #yiv8286754888ygrp-mlmsg * {line-height:1.22em;}#yiv8286754888 #yiv8286754888ygrp-mlmsg #yiv8286754888logo {padding-bottom:10px;}#yiv8286754888 #yiv8286754888ygrp-msg p a {font-family:Verdana;}#yiv8286754888 #yiv8286754888ygrp-msg p#yiv8286754888attach-count span {color:#1E66AE;font-weight:700;}#yiv8286754888 #yiv8286754888ygrp-reco #yiv8286754888reco-head {color:#ff7900;font-weight:700;}#yiv8286754888 #yiv8286754888ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8286754888 #yiv8286754888ygrp-sponsor #yiv8286754888ov li a {font-size:130%;text-decoration:none;}#yiv8286754888 #yiv8286754888ygrp-sponsor #yiv8286754888ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8286754888 #yiv8286754888ygrp-sponsor #yiv8286754888ov ul {margin:0;padding:0 0 0 8px;}#yiv8286754888 #yiv8286754888ygrp-text {font-family:Georgia;}#yiv8286754888 #yiv8286754888ygrp-text p {margin:0 0 1em 0;}#yiv8286754888 #yiv8286754888ygrp-text tt {font-size:120%;}#yiv8286754888 #yiv8286754888ygrp-vital ul li:last-child {border-right:none !important;}#yiv8286754888
http://www-01.ibm.com/support/docview.wss?uid=swg21613931
On Tue, Jan 23, 2018 at 11:13 AM, Bill Mclain bdmclain@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> I have a 7.6 version available. Let me check. It used to be straight
> forward
>
> Sent from the Yahoo Mail app. Get yours!
>
> On Tue, Jan 23, 2018 at 9:41 AM, abourgoin2002@yahoo.com [MAXIMO]<
> MAXIMO@yahoogroups.com> wrote:
> I am struggling with changing field background color (and text color) with
> conditional expressions. Last time I did this was Max 4 and seemed a lot
> less complicated. Suggestions?
>
>
>
> #yiv4851371375 #yiv4851371375 -- #yiv4851371375ygrp-mkp {border:1px solid
> #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4851371375
> #yiv4851371375ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4851371375
> #yiv4851371375ygrp-mkp #yiv4851371375hd {color:#628c2a;font-size:85%;
> font-weight:700;line-height:122%;margin:10px 0;}#yiv4851371375
> #yiv4851371375ygrp-mkp #yiv4851371375ads {margin-bottom:10px;}#yiv4851371375
> #yiv4851371375ygrp-mkp .yiv4851371375ad {padding:0 0;}#yiv4851371375
> #yiv4851371375ygrp-mkp .yiv4851371375ad p {margin:0;}#yiv4851371375
> #yiv4851371375ygrp-mkp .yiv4851371375ad a {color:#0000ff;text-
> decoration:none;}#yiv4851371375 #yiv4851371375ygrp-sponsor
> #yiv4851371375ygrp-lc {font-family:Arial;}#yiv4851371375
> #yiv4851371375ygrp-sponsor #yiv4851371375ygrp-lc #yiv4851371375hd
> {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4851371375
> #yiv4851371375ygrp-sponsor #yiv4851371375ygrp-lc .yiv4851371375ad
> {margin-bottom:10px;padding:0 0;}#yiv4851371375 #yiv4851371375actions
> {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4851371375
> #yiv4851371375activity {background-color:#e0ecee;float:left;font-family:
> Verdana;font-size:10px;padding:10px;}#yiv4851371375
> #yiv4851371375activity span {font-weight:700;}#yiv4851371375
> #yiv4851371375activity span:first-child {text-transform:uppercase;}#yiv4851371375
> #yiv4851371375activity span a {color:#5085b6;text-decoration:none;}#yiv4851371375
> #yiv4851371375activity span span {color:#ff7900;}#yiv4851371375
> #yiv4851371375activity span .yiv4851371375underline
> {text-decoration:underline;}#yiv4851371375 .yiv4851371375attach
> {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
> 0;width:400px;}#yiv4851371375 .yiv4851371375attach div a
> {text-decoration:none;}#yiv4851371375 .yiv4851371375attach img
> {border:none;padding-right:5px;}#yiv4851371375 .yiv4851371375attach label
> {display:block;margin-bottom:5px;}#yiv4851371375 .yiv4851371375attach
> label a {text-decoration:none;}#yiv4851371375 blockquote {margin:0 0 0
> 4px;}#yiv4851371375 .yiv4851371375bold {font-family:Arial;font-size:
> 13px;font-weight:700;}#yiv4851371375 .yiv4851371375bold a
> {text-decoration:none;}#yiv4851371375 dd.yiv4851371375last p a
> {font-family:Verdana;font-weight:700;}#yiv4851371375 dd.yiv4851371375last
> p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4851371375
> dd.yiv4851371375last p span.yiv4851371375yshortcuts {margin-right:0;}#yiv4851371375
> div.yiv4851371375attach-table div div a {text-decoration:none;}#yiv4851371375
> div.yiv4851371375attach-table {width:400px;}#yiv4851371375
> div.yiv4851371375file-title a, #yiv4851371375 div.yiv4851371375file-title
> a:active, #yiv4851371375 div.yiv4851371375file-title a:hover,
> #yiv4851371375 div.yiv4851371375file-title a:visited
> {text-decoration:none;}#yiv4851371375 div.yiv4851371375photo-title a,
> #yiv4851371375 div.yiv4851371375photo-title a:active, #yiv4851371375
> div.yiv4851371375photo-title a:hover, #yiv4851371375
> div.yiv4851371375photo-title a:visited {text-decoration:none;}#yiv4851371375
> div#yiv4851371375ygrp-mlmsg #yiv4851371375ygrp-msg p a
> span.yiv4851371375yshortcuts {font-family:Verdana;font-
> size:10px;font-weight:normal;}#yiv4851371375 .yiv4851371375green
> {color:#628c2a;}#yiv4851371375 .yiv4851371375MsoNormal {margin:0 0 0
> 0;}#yiv4851371375 o {font-size:0;}#yiv4851371375 #yiv4851371375photos div
> {float:left;width:72px;}#yiv4851371375 #yiv4851371375photos div div
> {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv4851371375
> #yiv4851371375photos div label {color:#666666;font-size:10px;
> overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4851371375
> #yiv4851371375reco-category {font-size:77%;}#yiv4851371375
> #yiv4851371375reco-desc {font-size:77%;}#yiv4851371375 .yiv4851371375replbq
> {margin:4px;}#yiv4851371375 #yiv4851371375ygrp-actbar div a:first-child
> {margin-right:2px;padding-right:5px;}#yiv4851371375
> #yiv4851371375ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica,
> clean, sans-serif;}#yiv4851371375 #yiv4851371375ygrp-mlmsg table
> {font-size:inherit;font:100%;}#yiv4851371375 #yiv4851371375ygrp-mlmsg
> select, #yiv4851371375 input, #yiv4851371375 textarea {font:99% Arial,
> Helvetica, clean, sans-serif;}#yiv4851371375 #yiv4851371375ygrp-mlmsg pre,
> #yiv4851371375 code {font:115% monospace;}#yiv4851371375
> #yiv4851371375ygrp-mlmsg * {line-height:1.22em;}#yiv4851371375
> #yiv4851371375ygrp-mlmsg #yiv4851371375logo {padding-bottom:10px;}#yiv4851371375
> #yiv4851371375ygrp-msg p a {font-family:Verdana;}#yiv4851371375
> #yiv4851371375ygrp-msg p#yiv4851371375attach-count span
> {color:#1E66AE;font-weight:700;}#yiv4851371375 #yiv4851371375ygrp-reco
> #yiv4851371375reco-head {color:#ff7900;font-weight:700;}#yiv4851371375
> #yiv4851371375ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4851371375
> #yiv4851371375ygrp-sponsor #yiv4851371375ov li a {font-size:130%;text-
> decoration:none;}#yiv4851371375 #yiv4851371375ygrp-sponsor
> #yiv4851371375ov li {font-size:77%;list-style-type:square;padding:6px
> 0;}#yiv4851371375 #yiv4851371375ygrp-sponsor #yiv4851371375ov ul
> {margin:0;padding:0 0 0 8px;}#yiv4851371375 #yiv4851371375ygrp-text
> {font-family:Georgia;}#yiv4851371375 #yiv4851371375ygrp-text p {margin:0
> 0 1em 0;}#yiv4851371375 #yiv4851371375ygrp-text tt {font-size:120%;}#yiv4851371375
> #yiv4851371375ygrp-vital ul li:last-child {border-right:none
> !important;}#yiv4851371375
>
>
>
>
>
Thank you for the time, but I should have made my question more specific.
In a combobox, the color should remain clear/white till something from the drop down is chosen. Once chosen the background and text would then change to the colors.
---In MAXIMO@yahoogroups.com, <abourgoin2002@yahoo.com> wrote :
In a combobox, the color should remain clear/white till something from the drop down is chosen. Once chosen the background and text would then change to the colors.
[]
Your conditional expression should then be "true" when the field is not null. Or false, your choice. Then when the expression is evaluated, you can decide when to change colors.
-C