Skip to main content
Question

Hide a field in MWO based on other field value


Forum|alt.badge.img+6

Hello everyone,

Hope you are all well :)

 

I have a question from a client: Can a field in MWO be hidden based on other field value? As an example I have 2 fields: A and B. When field A = 1, I want field B to be available, when field A != 1, I want field B to disappear.

 

Is this possible in MWO in this moment?

 

And more important, is this possible with configuration only?

 

Thank you in advance for your answer! :)

3 replies

Rukmal Fernando
Superhero (Employee)
Forum|alt.badge.img+16
  • Superhero (Employee)
  • 381 replies
  • November 27, 2023

This is indeed possible on MWO with IFS Cloud 23R2 and up as Configuration only!

It’s called Conditional Fields. See the documentation for the Web here: https://docs.ifs.com/techdocs/23r2/040_tailoring/225_configuration/200_client_configurations/310_conditional_fields/#conditional_attribute

It translates almost directly into Mobile, with the only difference being that you’d do this using Solution Manager > Mobile Apps > Configuration > Apps for Page Designer > Service Engineer

(Or Maintenance Engineer).

Best regards,

Rukmal


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

Yes, I just tested this in 23R2:

 

Making fields editable, required, visible (23R2­)

Just like in the IFS Cloud web client, it is possible to configure under which conditions:

  • a field is editable or read-only,
  • a field is mandatory or optional,
  • a field is visible or hidden.

This is controlled by the following properties on the individual control.

When hovering over the line, it allows you to switch between a simple check box and a condition input field.

If – for example – you wanted to hide the Item Class field (from the screenshot above) when the task does not have an equipment specified, you would specify this condition for the Visible attribute:

 

record.EquipmentObjectSequence != null

 

The effect of the change is visible immediately. Use Save and Publish to make the change available for MWO.

 

Note: UI changes require re-initialization of MWO. Select Sync Monitor>Sync>Initialize.


Alexander Heinze
Superhero (Employee)
Forum|alt.badge.img+23

Copy&paste error, see previous answer...


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings