Hi guys,
I have multiple layout alternatives created in Flexi Layout within one layout.
In ONE of those alternatives I have to invert colors of ONE field.
Can I use any script to do it?
For example: If layout alternative name is 'x', then set color inversion on field 'y'
I will be grateful for any help
I have multiple layout alternatives created in Flexi Layout within one layout.
In ONE of those alternatives I have to invert colors of ONE field.
Can I use any script to do it?
For example: If layout alternative name is 'x', then set color inversion on field 'y'
I will be grateful for any help
Comments
2 comments
In order to do what you want in FlexiCapture9 please use the following instructions:
First way
1)You have to have 3 fields(inverted, non inverted - the difference is basically invert option, they must share the same region and final - service field for output value).
2)There has to be a service block that is ONLY found on alternative that has the field which needs to be inverted(if it isn't possible please refer to the second way).
3)A script rule that sets final field value to one of inverted\non inverted field's value depending if service block is found or not.
Second way
1)You have to have 3 fields(inverted, non inverted, final).
2)A script rule that counts the amount of suspicious characters and sets final field value to inverted\non inverted field's value depending on how many symbols are suspicious since field with wrong invert option will have the majority of them marked as suspicious(you can make it either a strict number or percentage - SuspiciousSymbolsCount/Field.Value.Length*100).
Regards,
Vladislav
Please sign in to leave a comment.