Versions Compared

Key

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

...

OptionDescription
NameThe name of your custom report.
Query

The SQL query to be executed when your report is requested.

Info

Fields can be used within a query using the colon syntax. For example:

Code Block
languagesql
SELECT `id` FROM `users` WHERE `username`=:username;

Where a field exists with the name username.

Fields
OptionDescription
LabelThe label shown for this field when generating this report.
NameThe name of the field for us use in query substitution.
Type

The type of field.

OptionDescription
TextA text input field.
SelectA select menu, with the provided options.
DateA date picker.
Required

Whether or not the field is required.

OptionsDescription
NoThe field is not required.
YesThe field is required to have something specified. For select field types, one of the specified options must be selected.
Custom RegexThe value for the field must pass this regular expression.

...