Closing a read-only document with editable transient field without a warning

Hi,

I have following problem:

We have a read-only document in our application where we have an editable transient field which can be checked/unchecked by the user. We are using this transient field only for some user action (selecting some PDF documents and downloading all of them), so we don’t need to save this information but need it editable.

In order to close this document we use a button with event_cancel and no validation.

But now whenever the user had used this transient field in order to download selected documents and wants to close this document they receive following warning:

Is there a way to avoid this warning? Because from the user’s point of view there haven’t been any changes and this message will only confuse them.

Thanks,

Jana

Hi @jana-dark-core

I’m not aware of any modeling setting that can suppress this warning.

AFAIK, toggling the transient field value is setting a dirty state in the front-end of your application. Modeling transient fields simply means that this data is not sent to the server. It doesn’t change the behavior of the Form Engine relating to the dirty state and controls which reference these fields.

I think you need to add custom code in some way…

I’ve derived a question for you.