Contents

# Lietotāja datu vaicāšana laukos vai nosacījumos

You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:

Operators | Nozīme
--- | ---
== or EQ | vienāds ar
!= or NEQ | nav vienāds ar

If you want, you can use a condition to hide specific text in your document from a specific user.

1. Select the text in the document that you want to hide.

2. Izvēlieties Ievietot - Sadaļa.

3. In the Hide area, select the Hide check box.

4. In the With Condition box, type user_lastname == "Doe", where "Doe" is the last name of the user that you want to hide the text from.

5. Click Insert and then save the document.

The name of the hidden section can still be seen in the Navigator.

The following table is a list of the user variables that you can access when defining a condition or a field:

Lietotāja mainīgie | Nozīme
--- | ---
user_firstname | Vārds
user_lastname | Uzvārds
user_initials | Iniciāļi
user_company | Uzņēmums
user_street | Iela
user_country | Valsts
user_zipcode | Pasta indekss
user_city | Pilsēta
user_title | Virsraksts
user_position | Amats
user_tel_work | Uzņēmuma tālruņa numurs
user_tel_home | Mājas tālruņa numurs
user_fax | Faksa numurs
user_email | Email address
user_state | Štats

Saistītie temati

Par laukiem

Nosacījuma teksts

Hiding Text

Operatoru saraksts

Please support us!