Search
Tuesday, April 8, 2025
User manualsEasyDNNmaps

EasyDNNmaps User's Manual

Localizing EasyDNNmaps static content and Add/Edit forms

Custom fields expression tokens

The custom fields expression tokens check values in custom field values in templates.

[*EDNcf:Expression:CustomFieldTokenID:operator:value]
[*EDNcf:EndExpression:CustomFieldTokenID]

operator: =, !=, >, >=, <, <=
value: value to compare

value types:
text: "some text"
number: 123
empty value: ""

note: remove "*" from token examples

Examples:

Field type:
Multicontrol > DropDownList

Multicontrol > RadioButtonList
Multicontrol > CheckBoxList

[*EDNcf:Expression:Country:=:"Germany"]
                Welcome to Germany
[*EDNcf:EndExpression:Country]

[*EDNcf:Expression:Country:!=:"Germany"]
                Germany is not selected
[*EDNcf:EndExpression:Country]

[*EDNcf:Expression:HorsePower:<:80]
                Not so fast car
[*EDNcf:EndExpression:HorsePower]

[*EDNcf:Expression:HorsePower:>:200]
                Very fast car
[*EDNcf:EndExpression:HorsePower]

 

Field type:
Textbox > Integer
Textbox > Decimal
Textbox > Money

[*EDNcf:Expression:Price:>:1550.49]
                Very expensive product
[*EDNcf:EndExpression:Price]

[*EDNcf:Expression:Price:<:25.99]
                Very cheap product
[*EDNcf:EndExpression:Price]
 

Field type:
Textbox > Text

[*EDNcf:Expression:Product-Name:=:"NewPhone"]
                This is new Mobile Phone product
[*EDNcf:EndExpression:Product-Name]

[*EDNcf:Expression:Product-Name:!=:"NewPhone"]
                This is not new Mobile Phone product
[*EDNcf:EndExpression:Product-Name]
 

Field type:
Textbox > Date/Time

format = "MM/dd/yyyy HH:mm:ss"
"MM"   The month, from 01 through 12.
"dd"      The day of the month, from 01 through 31.
"yyyy"  The year as a four-digit number.
"HH"      The hour, using a 24-hour clock from 00 to 23.
"mm"    The minute, from 00 through 59.
"ss"        The second, from 00 through 59.

[*EDNcf:Expression:RegistrationDate:<:03/07/2017 14:15:29]
                Registration date is before 03/07/2017
[*EDNcf:EndExpression:RegistrationDate]

[*EDNcf:Expression:RegistrationDate:>:03/07/2017 14:15:29]
                Registration date is after 03/07/2017
[*EDNcf:EndExpression:RegistrationDate]
 

Field type:
Checkbox

[*EDNcf:Expression:Pool:=:true]
                House have pool
[*EDNcf:EndExpression:Pool]

[*EDNcf:Expression:Pool:=:false]
                House does not have pool
[*EDNcf:EndExpression:Pool]

 

 

Print
Last update: 24.06.2021 / Rate this article:
1.0
Copyright 2025 by EasyDNNsolutions Terms Of Use Privacy Statement