How to change mode Display to Edit with JS

Hello,

By default, when i open my form, i am on Display form, i would like to change in rdit mode via JS.

I have tried " fd.spForm._formType="Edit"; " but no changement
Is there possible ?

I want make this because in "display mode", it seems it s not possible to save a value field in sharepoint when i clik on button
// Sample

fd.field('Etat').value = 'New state';
fd.save();
fd.close();

Is ok only in edit or new modes

Thanks
Christophe

Dear @Christophe,
What exactly do you want to achieve with this? I think it might be best to either redirect users to Edit form, or modify some specific value with pnpjs.