Sorry in english now So here again the whole thing is understandable
I enter 3 values 1. the minimum value 2. the maximum value 3. the real measured value The radio widget should now automatically change the value in the display. If the real measured value is <than the minimum value, then the value should be set to 1. If the real measured value is> than the maximum value, then the value should be set to 3. Otherwise the value should be set to 2. This provides an overview of how the value has changed, whether it is in the normal range, or whether it has moved up or down. The next problem is that I have to number the lines by hand. Can you do this automatically? kzu_ein is a macro that contains the following values. date, normvon (minimum value of a body value in numbers with decimal places) normbis (maximum value of a body value in numbers with decimal places) weight (body value in numbers with decimal places) counter (number of the line) Rating: (Radio button low - value = 1) (Radio button Norm - value = 2) (Radio button up - value = 3) This value should be based on the values Minimum value (normof) Maximum value (normal to) Measured value (weight) automatically set and displayed. No further actions should take place. Gerald Weis schrieb am Mittwoch, 28. Oktober 2020 um 09:44:41 UTC+1: > 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>–</th> >>> <th>○</th> >>> <th>✚</th> >>> </tr> >>> </thead> >>> <tfoot> >>> <tr> >>> <td colspan=6>– = niedrig<br>○ = Norm<br>✚ = 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/422dac74-3719-43f3-921f-6746c38a4077n%40googlegroups.com.

