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.
-
Select the text in the document that you want to hide.
-
Izvēlieties Ievietot - Sadaļa.
-
In the area, select the check box.
-
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.
-
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 |
E-pasta adrese |
|
user_state |
Štats |