1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-10 23:06:06 +00:00

Docs: Addition of example for ActionSetField widget (#8986)

This commit is contained in:
bobjtls
2025-03-22 22:35:56 +11:00
committed by GitHub
parent 40d53543dc
commit 1b605f0b87

View File

@@ -1,6 +1,6 @@
caption: action-setfield
created: 20141025120850184
modified: 20150806171403798
modified: 20250322010115457
tags: Widgets ActionWidgets
title: ActionSetFieldWidget
type: text/vnd.tiddlywiki
@@ -66,3 +66,10 @@ src='<$button>
<$action-navigate $to="$:/ControlPanel"/>
Go to Control Panel "Appearance" tab
</$button>'/>
Here is an example of a button that will update the value of an existing field in a tiddler
<$macrocall $name='wikitext-example-without-html'
src='<$button>
<$action-setfield $tiddler="Test" existing_field_name="new field value"/>
Update Field existing_field_name in tiddler Test
</$button>'/>