Can I set defaults in a PersistantRecord depandent on one of the fields?


I am trying to configure the following setup.

A user is presented with an enumfield, and they choose a selection.

A series of fields below populate with different default values, dependant on the selection result in enumfield.

No, the defaults for a PersistentRecord are recorded in the static members of the class.

Probably will have to use a record listener, hide the visibility and then update the changeable records upon a record change?

If these things can be hidden from the user and derived from some other setting why do they even need to be a part of the settings record?

1 Like

Excellent question. I am currently removing them from the settings record into a class with static variables. No point for them to be in the settings record. Thanks!