Skip to content

Variable

You have to use these variables inside curly braces {{}} and {$variable_name$}. You can use any Field Name as a variable through {$field_name$}.

Example

Variable
{$field_name$}
{{calculation.increase[20]}}
{{calculation.increase[{$field_name$}]}}

Page Location Variable

Use this variable in the format {{variable_name}}

Variable NameDescription
location.hrefPage URL
location.hostSite Host Name
location.hostnameSite Hostname
location.originSite Origin
location.pathnamePage URL Pathname

Generate Random Value

Use this variable in the format {{variable_name}}

Variable NameDescriptionOutput
random.integer[0][12]Generate random integer value form 0 to 12.7
11,..
random.float[0][12][2]Generate random float value form 0 to 12 with 2 digit precision.7.45
11.90,..
random.string[a,A,0][7]
random.string[a,0][7]
random.string[a,A][7]
Generate random string of 7 chars with a-z,A-Z,0-9 character setA0bAur8,..
ud7dhe6
AuYctTd,..
random.email[gmail.com]Generate random email address with custom domain name.abeu@gmail.com
date.today[DD-MM-YYYY]Generate today date for given format
random.date[YYYY-MM-DD][1994][2012]Generate random date for given format within 1994-20122012-09-12
1993-12-01,..
random.mobile[10][6,7,8,9]Generate random mobile number.
- Mobile Number Length [10]
- Mobile Number Which Is Starting With [6,7,8,9]
9567893476
7590556721
6534980345,..

Calculation

Use this variable in the format {{variable_name}}

Variable NameDescriptionOutput
calculation.increase[2]To increase the number.3
calculation.decrease[3]To decrease the number.2

TIP

  • Using other variable - calculation.increase[{{random.integer[9][12]}}]
  • Nested - calculation.increase[{{random.integer[9][{{random.integer[19][112]}}]}}]

Loop Variable

Use this variable in the format {{variable_name}}

Variable NameDescriptionOutput
loop.index[FieldName]If you are using Field Type Loop and you need the index of the Loop then you can use this variable. In this variable you only have to give the name of Field Type Loop.Number

TIP

  • You can increase/decrease loop index. calculation.increase[{{loop.index[FieldName]}}]
  • Use variable like this: https://example.com/list?page={{loop.index[Loop]}}

Released under the MIT License.