Also hier nochmal das ganze verständlich

ich gebe 3 Werte ein

1. den Minimalwert
2. den Maximalwert
3. den realgemessenen Wert

Nun soll der Radiowidget automatisch den Wert in der Anzeige verändern.

Ist der realgemessene Wert < als  der Minimalwert , dann soll Wert auf 1 
gesetzt werden.
Ist der reaögemessene Wert > als der Maximalwert, dann soll Wert auf 3 
gesetzt werden.
Ansonsten ist Wert auf 2 zu setzen.

Dies dient der Übersicht wie sich der Wert verändert hat, ob er im 
Normbereich liegt, oder ob er sich nach oben oder unten bewegt hat.

Das nächste Problem ist, dass ich die Zeilen per hand numerieren muss. Kann 
man dies auch automatisch machen?


kzu_ein ist ein Makro das folgende Werte enthält.

datum, 
normvon (Minimalwert eines Körperwertes in zahlen mit Dezimalstellen)
normbis (Maximalwert eines Körperwertes in Zahlen mit Dezimalstellen)
 gewicht (Körperwert in Zahlen mit Dezimalstellen)
zaehler (Nummer  der Zeile)
Wertung:
(Radiobutton niedrig - value=1)
(Radiobutton Norm - value=2)
(Radiobutton hoch - value=3)
Dieser Wert soll anhand der Werte 
Minimalwert(normvon)
 Maximalwert(normbis)
 Messwert(gewicht)
automatisch gesetzt und angezeigt werden.

Weitere Aktionen sollen nicht mehr erfolgen.






TW Tones schrieb am Freitag, 23. Oktober 2020 um 23:19:33 UTC+2:

> Gerald a Quick brain dump
>
>
> 1. i input the min-value.
>> 2. i input the high-value.
>> 3. i input the real-value.
>>
>>
> Use three edit-text widgets to edit three fields in a separate config 
> tiddler,  in-value high-value and real-value.
>
>  
>
>> Now should the radiowidget set himself the position
>>
>
> I am not sure what the radio widget supposed to do?
>  
>
>>
>> My next problem is that i must count the table-rows by hand.
>> can this tiddlywiki do automaticly?
>>
>
> What determines the number of rows, and how are you generating them?
>
> A list that calls kzu_ein2?
>
>  
>
>>
>> < min-value = low
>> > high-valule = high
>> others = standard
>>
>> how can i do that
>>
>
> What do you want to do with the values given?
>  
>
>>
>> my code at the time is this
>> kzu_tab define the table-head
>> kzu_ein define the table-input
>>
>
> More a table row, yes. The input is elsewhere.
>  
>
>>
>> \define kzu_tab()
>> <thead>
>> <tr valign=top align=left>
>> <th class=th-allg rowspan=2>Datum</th>
>> <th class=th-allg rowspan=2>Norm (kg)</th>
>> <th class=th-allg rowspan=2>Gewicht</th>
>> <th class=th-allg colspan=3>Wertung</th>
>> </tr>
>> <tr>
>> <th>&#8211;</th>
>> <th>&#9675;</th>
>> <th>&#10010;</th>
>> </tr>
>> </thead>
>> <tfoot>
>> <tr>
>> <td colspan=6>&#8211; = niedrig<br>&#9675; = Norm<br>&#10010; = hoch</td>
>> </tr>
>> </tfoot>
>> \end
>>
>> \define kzu_ein2(datum normvon normbis gewicht  zaehler Wertung)
>> <tr align=right>
>> <td>$datum$</td>
>> <td>$normvon$ - $normbis$</td>
>> <td>$gewicht$</td>
>> <td><$radio field="gewicht$zaehler$" value="1"></$radio></td>
>> <td><$radio field="gewicht$zaehler$" value="2"></$radio></td>
>> <td><$radio field="gewicht$zaehler$" value="3"></$radio></td>
>> \end
>>
>
> Here you are NOT closing the </tr> 
>
> Regards
> Tones
>

-- 
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/b5fbe38e-f127-4a66-8ca1-178b7b99732cn%40googlegroups.com.

Reply via email to