Hello Friends
i have found an solution

<code>

\define NeuerZyklus(Kennzeichen Sache Jahr)
<$button>''$Sache$'' für das Jahr ''$Jahr$''
<$action-createtiddler $basetitle="$Kennzeichen$-$Sache$ - $Jahr$" 
tags="[[$Kennzeichen$]] [[$Sache$]]" text={{$Kennzeichen$-$Sache$ - 
VORLAGE}}/>
</$button>
\end

<$vars ph="Geben Sie den Text für den Tiddler ein">
<tr><td>Sache:</td>
<td colspan=3>
<$select tiddler="$:/temp/Sache">
<option value="Benzin">Benzin</option>
<option value="Fahrzeugpflege">Fahrzeugpflege</option>
<option value="Inspektionen/TÜV">Inspektionen/TÜV</option>
<option value="Reifen/Felgen">Reifen/Felgen</option>
<option value="Reparaturen/Wartung">Reparaturen/Wartung</option>
<option value="Scheibenwischer">Scheibenwischer</option>
</$select>
</td>
<td colspan=3><$edit-text tiddler="$:/temp/Sache" tag=input size=30 
placeHolder=<<ph>> default="Sache"/></td></tr>
<tr><td>Kennzeichen:</td><td> <$edit-text tiddler="$:/temp/Kennzeichen" 
tag=input size=12  placeHolder=<<ph>> default="Kennzeichen"/></td>
<td>Jahr:</td><td><$edit-text tiddler="$:/temp/Jahr" tag=input size=10 
placeHolder=<<ph>> default="2020"/></td></tr>
</$vars>

<$macrocall $name=NeuerZyklus Kennzeichen={{$:/temp/Kennzeichen}}  
Sache={{$:/temp/Sache}} Jahr={{$:/temp/Jahr}}/>
<<tabs [tag[Inhalt]!sort[created]] "" "$:/state/Inhalt" "tc-vertical">>
</code>

now i'm searching for an possibilty the field
<$edit-text tiddler="$:/temp/Sache" tag=input size=30 placeHolder=<<ph>> 
default="Sache"/> 
to set invisible

Any Ideas?

thanks
Gerald

Gerald Weis schrieb am Donnerstag, 8. Oktober 2020 um 15:48:58 UTC+2:

>
> Hallo Eric
>
> My Problem is
>
> i need the two tags where are input in the field Kennzeichen and the field 
> Sache
>
> How can i do that?
>
> How i must change the code?
>
> Eric Shulman schrieb am Donnerstag, 8. Oktober 2020 um 15:27:20 UTC+2:
>
>> On Thursday, October 8, 2020 at 4:54:04 AM UTC-7, Gerald Weis wrote:
>>
>>> <select tiddler="$:/temp/Sache" tags=input>
>>> <option value="Benzin" >Benzin </option>
>>> <option value="Fahrzeugpflege" >Fahrzeugpflege </option>
>>> <option value="Inspektionen/TÜV" >Inspektionen/TÜV </option>
>>> <option value="Reparaturen/Wartung" >Reparaturen/Wartung </option>
>>> <option value="Scheibenwischer" >Scheibenwischer </option>
>>> </select>
>>> <!--
>>> <$edit-text tiddler="$:/temp/Sache" tag=input size=30 placeHolder=<<ph>> 
>>> default="Sache"/> 
>>> -->
>>>
>> I don't know what's wrong.
>>>
>>
>> 1) The widgetname needs a leading "$".... i.e., <$select ...> and 
>> </$select>
>> 2) The $select widget doesn't use a tags="..." param, so this is unneeded 
>> (but otherwise ignored)
>>
>> -e
>>
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/628c463b-cbbd-4c68-80c5-720529705b02n%40googlegroups.com.

Reply via email to