Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 52 Next »

This is the documentation for ConfiForms Server/Data Center app

However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.


The ConfiForms Plugin

The ConfiForms Plugin uses Confluence's page permissions to control form use. Users with 'edit' permission for a page have administrative rights for the form(s) defined on that page. By restricting 'edit' rights to the page, the administrator controls administrative rights to its form(s).

Each record stored with ConfiForms has an owner. This means that a user who owns the record can fully control it (if edit/delete is enabled by the administrator). Admin users of a form can configure ConfiForms records to be owned by themselves, and also by other users. A form's administrative users can control all records saved by the form.

Each record in ConfiForms has the following associated metadata:

  • id - the record id, unique for every saved record
  • ownedBy - the username of the user who owns the record (and can fully control it)
  • ownedByName - the full name of the user who owns the record
  • createdBy - the username of the user who has created the record (admin users can create records for other users)
  • createdByName - the full name of the user who has created the record
  • created - the timestamp when the record was created
  • dateCreatedFormatted - a more readable way to see created timestamp

All these metadata fields, in addition to the form's defined fields (definitions), can be referenced using the "ConfiForms Field macro" in these ConfiForms macros:

  • TableView macro
  • ListView macro
  • CardView macro
  • CalendarView macro

Our Backlog

ConfiForms Backlog

 

 

Quick tips

  • Each form has a name and belongs to a page. Use the form's name and the Confluence page where the form is configured to reference a ConfiForms Form
  • To define the form, use the ConfiForms Form and Field Definition macros
  • To  enable registrations  and display the formuse the ConfiForms Registration Control macro
  • To display the form with its own layout , use the ConfiForms Registration Control  macro body as a container for the form's design, placing ConfiForms Field  macros in the container that define the form's fields
  • To enable data edits use ConfiForms Edit Controls with ConfiForms TableView, ListViewCalendarView or CardView macros 
  • To add convenient viewer to your data use ConfiForms Entity Viewer with ConfiForms TableView, ListViewCalendarView or CardView macro 
  • To send email from ConfiForm, use an IFTTT macro placed inside the ConfiForms Form macro
  • To display saved data, use the ConfiForms TableView, ListView, CalendarView or CardView macro
  • To customize the output , use the CSS rules for ConfiForms Fields macro
  • To configure dependent fields and relations between fields, use the ConfiForms Field Definition Rules macro 
  • To aggregate and merge the data from different ConfiForms Forms, use the ConfiForms TableView Merger macro

Macro documentation

ConfiForms Form

confiform

The main macro to define the entry form and its rules

ConfiForms Form nameformNameThe name of the form being created. This name be unique within the page and use alphanumeric characters [a-z, 0-9].
Registration form titleregistrationFormTitleThe title for the form to be displayed in the registration dialog.
Save button labelsaveButtonLabelThe text for the 'Save' button in the registration dialog.
Enable full auditenableAuditIf set, this enables a full audit, tracking all the changes made to the form and enabling a change history for versioning purposes. The form's admin users are able to see the log as a part of the admin user interface.
Secure storagesecureStorageWhen set, if a form has fields of type file then additional subpages with restricted access will be created to hold those files (as page attachments) and enable secure access. Form admins and a record original creator will have access to these attachments for download
Lock formlockedUse this flag when the ConfiForm should be locked so that additional records cannot be stored.  Admin users will still be able to manage the form's data.
Lock messagelockedMessageThe message text that will be displayed to users when the form is locked.
Enforce one entry per useruniqueByUserConfiForms will ensure that only one record per user (ownedBy) is saved.
Restrict record view for non-admin usersshowOnlyOwnRecordsThis parameter limits access for non-admin users so that only records owned by the user will be visible to this user. Admin users will still have access to all records.
Read-only after submissionreadonlyAfterRegistrationThis sets the form to be read-only once the user has submitted it. Users who have not yet submitted the form will still be able to do so.
Read-only messagereadonlyAfterRegistrationMessageWhen the 'Read-only after submission' parameter is set and the user has submitted the form, this text will be displayed.
Track maximum capacitymaxCapacityThe maximum number of records that ConfiForms will allow to be submitted.
Maximum capacity messagemaxCapacityMessageWhen the 'Track maximum capacity' flag is set and the maximum has been reached, this text will be displayed.
Allow data exportexportUse this parameter to enable data export for non-admin users.  The "Enable export" parameter on the TableView macro must also be set.
Enable ''Print'' buttonprintEnabledThis parameter will enable a print button on the form.
Display editable fields in Print viewprintEditableWhen this parameter is set, the form's fields will be displayed as editable entries in the Print view.  When not set, the fields will be shown as read-only labels. When checked
Additional form admin user names (or groups)additionalFormAdminsA comma-separated list of user names / user groups that should be treated as the form's administrators.  This parameter can be used to lock the form's configuration but enable full control over the form's data to certain users.
Anonymous formanonymousInputEnabling anonymous input for your form will allow you to create records anonymously (createBy and ownedBy fields are not set. Records could be modified only by Form admins)
ConfiForms Field Definition

confiform-field-definition

The macro to use inside the ConfiForms Form macro to define the form's fields, their types, and behavior.

Field namefieldNameA required parameter which allows alphanumeric values; the name must be unique within the confluence page.
LabelfieldLabelThe label to be shown with a form element (for example, the caption for a button, the title for input fields, or the header when used in a ConfiForms Field in TableView or CardView).
RequiredrequiredIf this parameter is set, ConfiForms will ensure the field has a value and validate the user's input.
   
   
Field type

type

The field's type which defines how data can be entered in the field (datepickers for dates, dropdowns, etc.) according to these definitions:

TypeCompatibilityDescription
Text 4.3+A simple text input field.
Action Button4.3+Action button to update the entry when in "view mode". Easy to implement quick notifications when used together with IFTTT module
Autolink 4.3+This type creates automatic links to resources based on a defined pattern. When used with an IFTTT macro to create pages, autolinks can reference the record owner as [owner]; the record modifier, as [modifier]; and any record field as [entry.FIELD_NAME] (except entry.id , which is not available when a record is about to be created)
Autonumber 4.3+This type makes the field's value an auto-incremented number assigned automatically to each record. You can control how the number is displayed by using a mask (prefix) and an initial number. See Text masks and masked input.
Autopage 4.3+This field type records the source page where the record was submitted.
Calculated4.3+This type sets the value for the field based on an expression which can reference record owner as [owner]; record modifier, as [modifier]; any record field as [entry.FIELD_NAME]. Important: the value is calculated only when an entry is created. See the "Formula" field type for a field which is recalculated on each edit. See Supported math operators and functions.
Checkbox 4.3+Display the field as a checkbox.
Checkbox group 4.3+Displays the field's options as a group of checkboxes.
Date 5.0+This type provides a datepicker that stores data in the format specified in Confluence's general settings for Date Format.
Datetime 5.0+A datepicker with time control to store data in the format specified in Confluence's general settings for Date Time Format.
Drawing canvas  4.3+A field type for capturing simple drawings such as 'wet signatures,' for example.
Dropdown 4.3+This field type creates a drop-down list (or combobox) for capturing user input.
Dynamic label5.1+This controls behaves similarly to Confluence labels, and allows setting multiple labels to one field. List of labels could be dynamic and you can even set it to reference itself, meaning that when a new label is entered in current form it will be immediately available for lookup
Dynamic Dropdown 4.3+This one offers a dynamic drop-down list (or combobox) in which the values can be pre-defined or referenced from another form; it includes an option for users to enter their own values.
Enroll button 5.0+This field type enables one-click record storage.
File 4.3+This type provides a way to upload files and images. Uploads will be stored as attachments on the page where the ConfiForms form is defined.
Formula4.3+This field type sets the value for the field based on an expression which can reference the record owner as [owner], a record modifier as [modifier]; and any record field as [entry.FIELD_NAME]. Important: this value is calculated every time an entry is updated (and created). See the "Calculated" type if the field should NOT recalculated on each edit. See Supported math operators and functions.
Html4.3+raw HTML content
Hidden 4.3+This type provides for a concealed constant value to be stored with the record.
Hidden Html4.3+Hidden raw HTML content
Link 4.3+This field type offers a convenient way to store links to other resources and display them as links.
Masked Text4.3+This type provides a way to mask (or constrain the format of characters entered) in a text field.  For example, a mask of 00/00/0000 will format the entry in this way: 23/12/2014.  See Text masks and masked input to learn more about defining a mask.
Multiselect 5.1+This type stores multiple values for the field.
JIRA issue4.3+This field type provides a means to reference a JIRA issue. It requires an application link between Confluence and JIRA.
Page/Blog post 4.3+This type permits the field to reference a Confluence page or blog post.
Password 5.0+A type for passwords which obscures the characters being entered.
Radio group 4.3+

This type provides for a group of radio buttons, which allow the user to choose a single exclusive option.  This type can be especially useful with surveys.

Readonly4.3+Looks like a text field but is readonly to the user, might have a default value. Usually used with ConfiForms Field Definition Rules which set's value to this field
Section 4.3+This is a section placeholder to separate fields into groups on the form.
Simple date 4.3+This type offers 3-part drop-down lest (year, month, and day) for easy date selection.
Smart classifier 4.3+This sophisticated field type allows users to enter data based on a stored structured dataset and the deep structure can be defined as needed.

Smart Dropdown

Smart Multiselect

Smart Radio buttons

Smart Checkbox

4.3+


5.1+


5.1+

5.1+

These types provide ways to reference the data from other ConfiForm forms, either another form's drop-down values, or records stored directly (see the flag 'Reference to values').
Status 5.0+

This field type permits easy grouping and presentation for entered data. Each status level is color-coded to foreground data groupings.

Important

Filtering by the status field can be a bit complex because each color has a constant value which is stored with the data according to this pattern:

ColorConstant
DEFAULTdefault
ERRORerror
CURRENTcurrent
SUCCESSsuccess
COMPLETEcomplete
MOVEDmoved
Textarea 4.3+This type provides a textarea for user input.
User 4.3+This field type enables reference to users in the Confluence system.  Entering initial letters of a username will automatically provide a list of suggested users.
User (multiselect) 5.1+Like the User type, this one allows selection of multiple users.
Voting5.0+Enables quick voting control
WYSIWYG 5.0+ (on 4.3 this controls is shown as textarea)This field type providea a simple editor that supports basic formatting styles.

* The Compatibility column shows the Confluence version number with which this field type is compatible.


Field descriptionfieldDescriptionThis parameter provides a caption text for the field that is visible below the field.
VisibilityrestrictionsUse this parameter to limit a field's visibility to selected users or groups.  It accepts a comma-separated list of group and users and can be left blank if there are no restrictions.
EditabilityeditRestrictionsLike the Visibility parameter, this one limits who can edit the field, again using a aomma-separated list of group or user names; can also be left blank if there are no restrictions.
CSS stylescssThis parameter can contain the CSS rules that should be applied to the field's input.  Adjust the CSS rules on the ConfiForms Field macro to customize the field's output.
Validation rulesvalidationA regular expression to validate the field's input; see detailed documentation at Automatic validation for your fields.
Validation messagevalidationMessageA message to be displayd when validation fails; if this is not specified, a standard message will be shown.
ConfiForms Registration Control

confiform-entry-register

This macro defines how the form is displayed (as a pop-up dialog or embedded in the page) and the form's behavior when submitted. Multiple 'Registration Controls' that use the same form (form definition) can be placed on one or multiple pages.

When the macro has a body defined, the fields in the body will be used as inputs for the form layout. To enable WYSIWYG mode, make sure that "ConfiForm Field" macros are in the body of the "ConfiForms Registration Control" macro. ConfiForm Field macros and text can be styled as needed.

If the "ConfiForms Registration Control" macro is not defined (empty), a default layout will be used (either as a table or a card with key-value fields).

ConfiForms Form nameformNameThe name of the ConfiForm to which this registration control should be linked. This parameter is required when the macro is used by itself (not inside the ConfiForms Form macro).  The name parameter can be skipped when the macro is configured inside the ConfiForms Form macro, and if not defined, the form name is automatically assigned.
Location page namepageTitleThe name of the page on which the form is defined if not the current one; leave this blank if the form is defined on the same page.
Embedded or Dialog?embeddedCheck this option to have the form embedded on the page, uncheck to display the form as a pop-up dialog.
Submission button labelregistrationButtonLabelThe text to be displayed on the submit button.
Post save messageregistrationMessageThe text to be displayed after a record been created.
Key-value request parameterspresetValuesThis parameter provides a way to preset values for certain fields in the form.  These are listed as key-value pairs, separated by & (as request parameters) where the ''key'' is a ConfiForms Field name and the ''value'' is the data to be preset for the field.
Enable auto enrollautoenrollUse this parameter when the form has preset values (key-value pairs) and can be auto submitted. Because the form can have multiple registration controls, the auto enroll can be combined with predefined data to enable one-click submissions, for example, to capture yes/no feedback.
Valid redirect URLredirectUrlAn optional location to which the user will be redirected after a successful ''save'' operation. This parameter supports parameters and references to record fields: the record owner can be referenced as [owner], the record modifier as [modifier]; and any record field can be referenced as [entry.FIELD_NAME].
CSS stylescssCSS rules to be applied to the Submit button when the form is displayed as a pop-up dialog (when the form is embedded in the page, this button is not shown).
Visible only to groups/usersrestrictionsThis parameter accepts a comma-separated list of groups and users to which this field will be visible. Leave this parameter blank if there are no restrictions.
Hide control when stored data matches this criteriahideIfMatches ALL ConfiForms entries stored by the form referenced will be concealed when the items in this parameter are matched in the entry. The control itself will be hidden when the condition/filter given is met, and this parameter uses the same syntax as in filters .
ConfiForms Edit Controls

confiform-entry-edit

This macro defines the behavior of the Edit control for ConfiForms ListView and TableView.

Inline edit or in dialoginlineDefines how the record edit should be done: through a dialog or inline on the page.
Display Edit and Delete buttonsshowBothThis parameter can be configured to conceal the 'Delete' action for non-administrative users, or to display both Edit and Delete. To conceal both Edit and Delete, do not define the 'ConfiForms Edit Controls' macro.
Label for Edit buttoneditButtonLabelThe text to display on the edit button.
Label for Delete buttondeleteButtonLabelThe text to display on the delete button, which is actually a link in the user interface.
Post update messageupdateMessageThe text to display after a record has been updated.
Hide control when stored data matches this criteriahideIfMatches The current ConfiForms entry stored by the form referenced will be concealed when the items in this parameter are matched in the entry. The control itself will be hidden when the condition/filter given is met, and this parameter uses the same syntax as in filters
ConfiForms TableView

confiform-table

The macro to display stored data as a table, with instant search, filtering, and data sorting/ordering.

ConfiForms Form nameformNameThe name of the ConfiForm form that TableView will use.
Form Location pagepageTitleThe name of the page on which the form is defined if not the current one; leave this blank if the form is defined on the same page.
FilterfilterThe filter to be applied to the stored dataset; see detailed documentation at ConfiForms Filters and/or in the tutorials.
Ordering/Sorting rulessortRules for ordering and sorting the returned dataset; see detailed documentation at Sorting in ConfiForms   and/or in the tutorials.
Enable instant searchenableSearchThis parameter adds a search input field above the table to enable quick searching and filtering of the stored data.
Enable exportexportThis parameter provides a way for non-administrative users to download the returned data in CSV, XML, or JSON formats.  While the form's administrative users can always export ConfiForms data with the administrative interface, they should enable data export for non-administrative users with the 'Allow data export' parameter in the ConfiForms form macro.
PaginationpagerA parameter to enable displaying records in sets (for example, in groups of 1, 25, 50, 100, or 200 per page); if not configured then all stored records are shown.
Scrollable tableswrappedThis parameter provides scroll bars for larger tables by applying CSS style rules.
CSS stylescssUse this parameter to customize CSS styling for the table to be generated; to apply a CSS class prefix the ruleset with 'class:'
Striped table renderingwithHighlightingThis parameter enables highlighting alternate rows in a table.
ConfiForms ListView

confiform-list

This macro displays your stored data in WYSIWYG view (it also supports filtering and data sorting/ordering).

ConfiForms Form nameformNameThe name of the ConfiForm form TableView should use.
Form Location pagepageTitleThe location of the page on which the form is defined; leave blank if the form is on the same page.
FilterfilterA parameter for selecting records from the dataset; see detailed documentation at ConfiForms Filters   and/or in the tutorials.
PaginationpagerA parameter to enable displaying records in sets (for example, in groups of 1, 25, 50, 100, or 200 per page); if not configured then all stored records are shown.
Ordering/SortingsortSee detailed documentation at Sorting in ConfiForms  and/or in the tutorials.
CSS stylescssUse this parameter to customize CSS styling for the table to be generated; to apply a CSS class prefix the ruleset with 'class:'
ConfiForms CardView

confiform-card

This macro displays your stored data as a vertical table (or card) with instant search, filtering, and data sorting/ordering.

ConfiForms Form nameformNameThe name of the ConfiForm form that CardView should use.
Form Location pagepageTitleA parameter to store the page where the form has been defined; this should be left blank if the form is defined on the same page
FiltersfilterSee detailed documentation at ConfiForms Filters and/or in the tutorials.
Ordering/Sorting rulessortSee detailed documentation at Sorting in ConfiForms and/or in the tutorials.
Instant searchenableSearchAdds a search input field above the table to enable quick search and filtering of stored data.
Enable exportexportThis parameter provides a way for non-administrative users to download the returned data in CSV, XML, or JSON formats.  While the form's administrative users can always export ConfiForms data with the administrative interface, they should enable data export for non-administrative users with the 'Allow data export' parameter in the ConfiForms form macro.
PaginationpagerA parameter to enable displaying records in sets (for example, in groups of 1, 25, 50, 100, or 200 per page); if not configured then all stored records are shown.
Scrollable tableswrappedThis parameter provides scroll bars for larger tables by applying CSS style rules.
CSS stylescssUse this parameter to customize CSS styling for the table to be generated; to apply a CSS class prefix the ruleset with 'class:'
ConfiForms CalendarView

confiform-calendar

This macro displays your stored data in a calendar view.

Name of the field to use as a grouping field fro calendargroupingFieldNameMust be of type Date/Datetime
ConfiForms Form nameformNameThe name of the ConfiForm form that CardView should use.
Form Location pagepageTitleA parameter to store the page where the form has been defined; this should be left blank if the form is defined on the same page
FiltersfilterSee detailed documentation at ConfiForms Filters and/or in the tutorials.
Ordering/Sorting rulessortSee detailed documentation at Sorting in ConfiForms and/or in the tutorials.
CSS stylescssUse this parameter to customize CSS styling for the table to be generated; to apply a CSS class prefix the ruleset with 'class:'


ConfiForms Field

confiform-field

This macro defines a field to be displayed within the ConfiForms TableView, ListView, or CardView macros

Field namefieldNameThe name of the field defined on the form referenced. The macro's preview mode displays the field names stored within the form. The ConfiForm metadata fields are available always as well (see above).
Field labelwithLabelThe label from the ConfiForms field definition will be added as a prefix before the field value.
   
Hide if  emptyhideIfEmptyUse this parameter in order to conceal a field when its stored value is blank, as in ListView or CardView, for example.
CSS stylescssThis parameter provides a way to apply CSS styles (for example: color:red; border:1px) to the field. Styles will be applied on stored values on output.
ConfiForms IFTTT

confiform-ifttt

 This macro defines the integration rules for ConfiForms forms and is to be placed inside ConfiForms Form macro body. The macro body is used as the message body, task content, javascript snippet, page content, or request content, depending on the action type selected.

The macro body completely supports referencing records, including the record owner as [owner], the record modifier as [modifier], and any record field as [entry.FIELD_NAME]. The body can include complex types; see "Subject for email / title for page / url for request" below for details.

Eventevent
  • onCreated - when a new record is created
  • onModified - when a record is modified
  • onDeleted - when a record is deleted
Action to be performedaction
  • Send Email - Send email to the list of participants, defined below
  • Create Page - Create a page based on a given template
  • Make request - Performs an HTTP request (GET or POST, depending on the macro body).
  • Send Notification - Send a Confluence notification
  • Create ConfiForms Entry - create a ConfiForms entry in another form (macro body is ignored)
  • Create Task - Creates task in Confluence for user
  • Run JavaScript - runs given Javascript snippet on ConfiForms event (Use this macro body to write your Javascript)
Subject for email / title for page / url for requesttitle

This setting defines the subject to be used on emails, the title for the page created, or the URL for an HTTP request.  It
allows parameters and substitutions which can be constructed dynamically, including references to the record owner as [owner], the record modifier as [modifier], and any record field as [entry.FIELD_NAME].

Complex fields (such as of type page/blogpost or user) are also supported.

ConfiForms entry

This is used when referencing a smart classifier field, and it can access  all the standard fields, plus additional fields defined in the ConfiForms entry:

id - the record id, unique for every saved record: [entry.FIELD_NAME.id]

ownedBy - the username of the user who owns the record (and can fully control it): [entry.FIELD_NAME.ownedBy]

ownedByName - the full name of the user who owns the record: [entry.FIELD_NAME.ownedByName]

createdBy - the username of the user who has created the record (admin users can create records for other users): [entry.FIELD_NAME.createdBy]

createdByName - the full name of the user who has created the record:  [entry.FIELD_NAME.createdByName]

created - the timestamp when the record was created: [entry.FIELD_NAME.created]

dateCreatedFormatted - a formatted way to see the timestamp for a created record: [entry.FIELD_NAME.dateCreatedFormatted]

As well as other, non-standard fields defined in the ConfiForms entry:   [entry.FIELD_NAME.FIELD_NAME]

UserfullName: [entry.FIELD_NAME.fullName]
username: [entry.FIELD_NAME.username]
email: [entry.FIELD_NAME.email]
Page/BlogPosttitle: [entry.FIELD_NAME.title]
spaceKey: [entry.FIELD_NAME.spaceKey]
id: [entry.FIELD_NAME.id]
version: [entry.FIELD_NAME.version]

as well as other simple Page properties.

In order to reference fields to create the email body, a page template, and the data to send to another service, use either the ${} notation or the notation above, using [entry.FIELD_NAME]. Both methods are supported. See detailed example at Using IFTTT macro for integrations.

See also Virtual functions

ParticipantswhoA list of users who will receive a notification / receive task; a list of users involved.
Conditionally fire the IFTTT actionconditionA parameter in which to set the condition for activating the IFTTT action. If this parameter is left empty, the IFTTT action is always executed when the event occurs.  Conditions use the same syntax as in filters, and the scope is the current ConfiForms entry.
Sender (or Parent page)extras

Use this to specify the sender when configuring a "Send Email" action, or to specify the page to be used as a parent page for a "Create Page" action.

Important: the "Create ConfiForms Entry" action does not support propagation of further "Create ConfiForms Entry" actions. This is to avoid infinite loops (an entry creates an entry in another form using IFTTT macro, which creates another entry in the first form, and so on).

ConfiForms TableView Merger

confiform-table-merger

This ConfiForms helper macro merges TableView results.

This macro takes RICH TEXT as an input to define which fields (ConfiForms Field macros) to display and which tables to merge (in the ConfiForms TableView macros). It supports expressions which can be used when aggregating the data. Learn more in TableView Merger examples.

FilterfilterSelect records based on this configuration; see detailed documentation at ConfiForms Filters  and/or in the tutorials.
Ordering/SortingsortRules for ordering or sorting entries in the dataset; see detailed documentation at Sorting in ConfiForms  and/or in the tutorials.
Enable exportexportThis parameter provides a way to download returned data in CSV, XML and JSON formats. Admin users can always export ConfiForms data with the administrative interface. For non-admin users, the form's owner should enable support for data export via 'Allow data export' in the ConfiForms form macro.
PaginationpagerA parameter to enable displaying records in sets (for example, in groups of 1, 25, 50, 100, or 200 per page); if not configured then all stored records are shown.
Striped table renderingwithHighlightingThis parameter enables highlighting alternate rows in a table.
For examples, see the documentation in Merge and aggregation for ConfiForms  and for advanced techniques, see  Advanced aggregations in TableView Merger.
ConfiForms Field Definition Rules

confiform-field-definition-rules

This macro configures how ConfiForms Field Definitions are related. It supports creating complex relationships between form fields, based on selections, values entered, and so on. To be used inside the ConfiForms Form macro to define rules for Field Definitions.

Field nameactionFieldNameThe name of the field to be tracked / validated.
Actionaction

Action to perform

  • Show field
  • Hide field
  • Set value
  • Set value if empty
  • Set expression
  • Validation rule
ConditionconditionThis parameter defines the condition to be met in order for the action to be executed; it uses the same syntax as in filters; and the scope is the current entry/record.
Actionable field namefieldName

When the 'Show/Hide field' action is used, this parameter specifies which fields are affected (can specify a list of comma-separated field names to affect many fields at once).

the name of the parameter depends on the action selected

Values to be setvalues

When the 'Set value' (or 'Set value if empty') action is configured, this parameter specifies which fields and values are to be set. Values are set as key-value pairs, separated by & (as request parameters), where the ''key'' is the field name, and the ''value'' is the entry to be set.

the name of the parameter depends on the action selected

Important to note that for validations the regular expression is expected! See Automatic validation for your fields
CSS Rules for ConfiForms Fields

confiform-field-css

The macro to use to display fields based on their values. To be used inside the ConfiForms TableView, ListView, or CardView macros.

Field value or expression to matchconditionThis parameter accepts values or expressions, similar to filters (see the detailed documentation on filters: ConfiForms Filters). The scope for filtering is the whole dataset and depends on the container macro in which this macro is used as the dataset is passed from the container macro.
Field namefieldNameThe name of the field to which the CSS styling rule(s) should be applied; if left empty, the style is applied to the row.
Conditional CSScssThis parameter accepts valid CSS styles, separated by semicolon (for example: color:red;border:1px). Styles will be applied to a field (if given) or on a row when used within a table (a CSS container div is used when in ConfiForms ListView) if the field name is not set.
ConfiForms Entry Viewer

confiform-entry-viewer

The macro to use when you need to show all the fields for the stored entity in a readonly pop-up dialog.

Field namefieldNameName of the field defined on the form. Leave empty if you want to use just a static caption. See parameter below
Caption/label to usebuttonLabelStatic label to use for viewer field
Render astype

The control can be rendered as:

  • Button
  • Link
View modemode

How the controls in the dialog should look like

  • ReadOnly
  • Editable
VisibilityrestrictionsThis parameter accepts a comma-separated list of groups and users to which this field will be visible. Leave this parameter blank if there are no restrictions.
Hide control when stored data matches this criteriahideIfMatches Current ConfiForms entry stored by the form referenced will be concealed when the items in this parameter are matched in the entry. The control itself will be hidden when the condition/filter given is met, and this parameter uses the same syntax as in filters .
CSS stylescssThis parameter provides a way to apply CSS styles (for example: color:red; border:1px) to the field. Styles will be applied on stored values on output.

 

How to reference a ConfiForms field:

from IFTTT macro body

  • [entry.FIELD_NAME]
  • ${FIELD_NAME} (see IFTTT macro documentation for more details)
  • using the ConfiForms Field Macro when IFTTT is used to create a page, and in this case the value will be dynamic.
from IFTTT macro title parameter[entry.FIELD_NAME]
ConfiForms Registration Control, redirectURL parameter[entry.FIELD_NAME]
in Calculated/Formula field, when constructing an expression[entry.FIELD_NAME]

Also see Virtual functions

 

 

 

  • No labels