Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

  ←

Polish

 ← Powrót do listy dostępnych akcji

Info

Jeśli masz problem ze zrozumieniem jak działa akcja, sprawdź opisy: Akcja, Wykonanie warunkowe, Parametry komponentów

Panel
titlePodstawowe informacje

Kategoria: Wygląd

Umiejscowienie akcji: Formularz

Dostępna od wersji: 1.0.60

Panel
titleOpis

Dodaje przy zmiennych gwiazdkę wymagalności. Uwaga - wpływa jedynie na efekt wizualny, zmienna nie staje się wymagalna!

Panel
Warning

Pozostawienie pustego pola wykonania warunkowego jest jednoznaczne z ustawieniem go na "prawdę".

Umiejscowienie akcjiDziałanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
FormularzWywołanie akcjiWykonanie warunkowe zwraca prawdę.
Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Zmienne1.0.60Zmienne do których zostaną dodane gwiazdki wymagalnościTablica zmiennych Pole edytowalnePrzyjmuje jedynie zmienne formularza, nie przyjmuje zmiennych tabelarycznych

Parametr*- pole wymagane

Panel
titlePrzykładowa konfiguracja

 Image Modified

Panel
titlePrzykład zastosowania
Expand
titlePrzykład 1
Panel
titlePrzykład 1. Dodanie gwiazdki wymagalności do zmiennych sprawdzanych przez walidator.

Załóżmy, że mamy sytuację, w której walidator sprawdza, czy zmienna którą podaliśmy jest wypełniona.

Nie możemy tego zrobić właściwością zmiennej, ponieważ może zdarzyć się sytuacja, w której będziemy chcieli ukryć tą zmienną i jej nie sprawdzać.

W takim przypadku, żeby uzyskać efekt wizualnej "wymagalności" skonfigurujemy sobie powyższą akcję.

Dodajemy akcję na formularz. Powinno nam się pokazać okno konfiguracji.

Image Modified

Dodajemy interesującą nas zmienną do pola parametru.

Image Modified

Gdy otworzymy formularz, zobaczymy, że podana przez nas zmienna dostała gwiazdkę wymagalności:

Image Modified

Panel
titleChange log

1.0.60

  • Dodanie komponentu
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

 

View file
nameTesty komponentów - akcje - [AKCJA] Dodanie gwiazdki 2019-10-14 10_23_49.zip
height250

Hide If
special@anonymous

Zadania związane z komponentem

Aktualne

Archiwalne

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-515


English

← Return to the list of available actions

Info

If you have trouble understanding how the action works, check the descriptions: Action, Conditional execution, Component parameters

Panel
titleBasic information

Category: Appearance

Action location: Form

Available from version: 1.0.60

Panel
titleDescription

 Adds an asterisk next to the variables. Note - it only affects the visual effect, the variable does not become required!

Panel
titleAction execution
Warning

Leaving the conditional field blank is tantamount to setting it to "true."

Location of the actionOperation of the "Conditional execution" parameterCondition of calling the action
FormCalling up sharesConditional execution returns the truth.
Panel
titleConfiguration parameters
Name of the parameterFrom versionDescriptionParameter typeDefault valueField typeNotes and restrictions
Variables1.0.60Variables to which asterisk will be addedArray of variables Editable fieldIt only accepts form variables, does not accept tabular variables

Parameter*- required field

Panel
titleSample configuration

Image Added

Panel
titleExample
Expand
titleExample 1
Panel
titleExample 1. Adding asterisk to variables checked by validator

Let's assume that we have a situation in which the validator checks if the variable is filled.

We cannot do this with the variable property, because there may be a situation in which you want to hide this variable and don't check it.

In this case, to get the effect of visual "due" we will configure the above action.

We add an action to the form. You should see the configuration window.

Image Added

We add the variable of interest to the parameter field.

Image Added

When we open the form, we will see that the variable given by us has got an asterisk:

Image Added

Panel
titleChange log

 1.0.60

  • Adding component