How can I modify the readonly of a field

how can I modify the readonly of a field depending on whether other fields are not empty

You should use states inside field definition, and use a pyson statement.
similar to this sample

thanks for the info :slight_smile: