Prevent some value changes in a radiobutton field

Hi,

In a form I have defined one radiobutton field for document status with a fixed list of values (created, approved, done, rejected).

Only these value changes must be authorized in edit mode: created → approved

       created -> rejected

       approved -> done

How can I manage this and inform users that for example changing this field from “created” to “done” is not authorized.

Thank you.

Olivier

Subject: Re: Prevent some value changes in a radiobutton field

Hello Olivier!

Try to use an input validation formula on the field:

Input validation formulas

Best Regards!

Rodrigo

Subject: A much easier way is…

populate the choices with a fieldname, e.g. validChoicesSet the values in validChoices by whatever method you like

(But make sure the current choice is always valid…)