New Record fields enabled

Hello
We have a form with a detail and a table view.
On the detail form we have a custom method dc_new who sets a specific field enabled (schould be only active the first time).
If we create a new record in detail view everything works as expected.
If we do the same on the list view the field stands disabled, because the code is not executed (the view is switched to detail but the code form the tableform is executed).

Is there a better method to do this?

Greetings
Jonpaul

Do you use a postNew on the dtl form?
Could you try if a postNew on the tbl form will help?

We have now another solution for that.

Now we make it on the base form.

Greetings Jonpaul