[tw5] How to create a tiddler that opens in View(?)Saved(?) mode not Edit mode

Greetings;

I have journal and regular tiddlers that have check boxes and text edit boxes in the text field. It is not necessary for the user to see or access the text field in edit mode and in fact confuses things.

I would like to have these tiddlers open in the already saved condition i.e. not in edit mode.

I have tried adding:

<$action-sendmessage $message=“tm-save-tiddler” title=<> />

to the $:/core/ui/Actions/new-tiddler after the already present:
:
<$action-sendmessage $message=“tm-new-tiddler” title=<> text=<> tags=<> first-time=""/> (I added the first-time field)

But it doesn’t work as the tiddler is created and opens in edit mode. I have worked around it (somewhat for the time being with a BEGIN button that hides the content until the button press saves the tiddler) but I don’t really that solution.

So…what am I missing here.

Your help is greatly appreciated.

Regards
Sher

Instead of using <$action-sendmessage $message="tm-new-tiddler" ... />

use <$action-createtiddler ... >

See https://tiddlywiki.com/#ActionCreateTiddlerWidget for parameter details.

enjoy,
-e

Thank you Eric.
Works great when followed up by a <$action-navigate $to=<>/> since in my case I do want the tiddler to open immediately.

If you have some time could you explain why using the sequence:

<$action-sendmessage $message=“tm-new-tiddler” title=<> tags=<> text=<> first-time=""/>
<$action-sendmessage $message=“tm-save-tiddler” $param=<> />

fails to create and open the tiddler in “view” mode and instead opens it in edit mode. I’m obviously misunderstanding something about how these two action widgets work.

Thanks for taking the time to solve my problem. Looking at the solution I see I should have played even more before calling for help.

Regards
Sher