Hi and merry christmas.
Right before christmas i managed to google some things together. my goal is a tiddler with some form elements (textarea, dropdown,etc) and a button who creates tiddlers (and fills custom fields of that tiddler) based on the input of the form.
so far i have this, but i don´t now how to manage that all the tiddler name which will be created based on the “name_temp” field, gets a “_table” concencated at the end of the name_temp field
<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='name_temp' placeholder='table:'/>
<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='label' placeholder='Label'/>
<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='url' placeholder='url'/>
<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='text' placeholder='Links and stuff'/>
<$button>Create Tiddler
<$action-setfield $tiddler={{$:/state/NewTiddlerForm!!name_temp}}
label={{$:/state/NewTiddlerForm!!label}}
url={{$:/state/NewTiddlerForm!!url}}
text={{$:/state/NewTiddlerForm!!text}}
tags=“table”
/>
<$action-navigate $to={{$:/state/NewTiddlerForm!!name_temp}}/>
<$action-setfield $tiddler=’$:/state/NewTiddlerForm’ name_temp=’’ text=’’ description=’’ tags=’’/>
</$button>
<$button>Clear Form
<$action-setfield $tiddler=’$:/state/NewTiddlerForm’ name_temp=’’ text=’’ description=’’ tags=’’/>
</$button>
</$wikify>
basically i want a “tiddler-factory” tiddler recipe, where i can create tiddlers, their tags and their custom fields based on a form