The CreatorCon Call for Content is officially open! Get started here.

Help required with UI policy based on multiple conditions

jas101
Tera Expert

Hi guys, hope someone can help as this is driving me a little made when I thought it would be straight forward - hopefully it is and I've just got fog brain from staring at it for a little long!

On our change form we have a 'Downtime?' None/Yes/No field. If the user answers 'Yes', 2 other fields appear asking for 'Downtime details' and 'Downtime duration'.

It is obviously easy to make these other 2 fields appear on 'Yes' only with a UI policy. However we want to make all these fields mandatory only if State is past 'New' (i.e  State not 'New') and this is what I'm struggling with. The best I have got so far is using 2 UI policies that mandatory behaviour works as expected but if the State is not 'New' e.g. 'Assess' the other 2 fields still show if the user changes 'Downtime?' back to N. I think the 'Reverse is true' may be causing issues.

What is the best way to handle this request please? Thank-you.

5 REPLIES 5

jas101
Tera Expert

OK here's another example with 2 current UI policy examples below (that need amending to work as wanted). So here am looking to make 'User support plan' field show whenever:

Downtime is 'Yes'

or 

User post-change impact is not 'None'

But only be mandatory if State is not 'New'.

The below work in scenarios I have tested bar when State is not 'New' e.g. 'Assess', Downtime is 'No' and Post-change impact is 'None' where 'User support plan' then still shows (when it shouldn't) although at least it is not mandatory in this scenario.

Any help much appreciated. Thank-you.

 

1)

find_real_file.png

 2)

find_real_file.png