Regeln und Werte löschen / Rules and delete values
Author: benjamin_nagel
Publication Date: 5/14/2013 17:00
Hallo liebe Community,
ich würde gerne unter bestimmten Bedingungen den Wert einer Eingabekomponente durch eine Regel löschen. Dafür habe ich folgende Regel geschrieben:
<ON_EVENT>
<IF>
<!-- Meine Bedingung bei der ich den Wert löschen will -->
</IF>
<WITH>
<!-------------------
DAS MUSS LEER SEIN UM EINEN LEEREN WERT
IN st_test IM DO TEIL ZU SPEICHERN
--------------->
</WITH>
<DO>
<PROPERTY source="st_test" name="VALUE" />
</DO>
</ON_EVENT>
Die Frage ist nun, ob das ein echtes Feature ist, oder ob es ein Bug ist... Oder gibt es eine Möglichkeit die ich bis jetzt übersehen habe?
Liebe Grüße
Benjamin
-------------------------------------------
Dear community,
I would like to delete under certain conditions the value of an input component by a rule. For this I have written the following rule:
<ON_EVENT>
<IF>
<!-- My condition when I like to delete the value -->
</IF>
<WITH>
<!-------------------
this must to be empty when I like to save a empty value
in st_text in the do part of the rule
--------------->
</WITH>
<DO>
<PROPERTY source="st_test" name="VALUE" />
</DO>
</ON_EVENT>
The question now is whether this is a real feature, or if it is a bug ... Or is there a possibility that I've overlooked until now?
Greetings
Benjamin
Tags: fs5, fs5.0, regel, regeln, rule, rules
-
Author: StefanSchulz - 5/16/2013 7:14
Emptying a Gadget's value is simply done by setting the property EMPTY of the gadget in the DO section. Any value computed in the WITH section will be ignored.
...
<DO>
<PROPERTY source="st_text" name="EMPTY" />
</DO>If this does not work in your case, please, report to helpdesk with all information available.
Cheers,
Stefan
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire