I need to update an audit trail from frontend(js) which should not be able to edit r delete by user

I need to done thru on js so kindly help me to find out.

What background primer can you contribute?

The idea is to give ‘learning breadcrumb’ pointers to what you have found tried and where you are stuck?

That will benefit all and engage responses with clues and knowhow help.

That’s how community works!

Sure I understand,

i have tried with js using insert_comment functions . Audit trail was updated but it was editable for user, that was need to be restrict. Is der any other comment type , it should update the audit trail in non editable mode.

To share your code may help?