Custom Page
Custom Pages are used to create custom static pages. You can include your own content and create your own layouts or select to embed any of your forms. Custom Pages can also include the Embedded Page Widget which provides some interesting possibilities.
Creating a Custom Page
Right-click on any page in the Workflow Outline. Custom Pages can be inserted at any level of the hierarchy.
- Enter a name for the new Page
-
From the Custom Page Type Menu select if you want to use Custom Page Content to create your own custom layout, or select Embedded Form to embed a form on the page.
Using an Embedded Form on a Custom Page
When embedding a form on a custom page the following settings are available in the Custom Page Options Wizard as part of the setup process. You can re-open this wizard to edit these settings by expanding the General Settings Property Panel and clicking the Custom Page Settings Icon.
| Property | Description |
|---|---|
|
Embedded Form |
Select the form that you will embed on the page. See the note below about enabling SSL on the form for best results. |
|
Form View |
If the selected form has Form Views defined, select a Form View or use the Primary Form Layout. Note: this option is only visible if your form has Form Views defined. |
|
AutoHeight |
Leave this set to true to automatically expand the form height as needed. Recommended. |
|
Form Height |
When autoheight is false, enter the static form height here |
|
Current User Params |
If your Workflow is secured, you can pass any of the currentUser wildcards into the form to pre-populate it. |
|
Static Params |
Define any static values that you want to pass into the form to pre-populate the form fields. |
Using Custom Page Content
When using custom content on your Custom Page, you can edit the layout using the Rich Text Editor. To access this property and edit the Custom Page settings expand the General Settings Property Panel and click the Custom Page Settings Icon.
Your Custom Page can include Workflow Widgets and Workflow Links that can be inserted by the corresponding links in the editor toolbar.
Showing Content Conditionally for the Logged-In User
On a secured workflow, the Conditional Content button in the Custom Page Layout Editor toolbar checks standard form fields rather than currentUser: fields. Because a standalone Custom Page does not load a form record of its own, a {Condition:...} tag created there will not match the logged-in user.
To show or hide content on a Custom Page based on the logged-in user's member database fields, use an Inline Condition with a CurrentUser wildcard:
- In the Workflow Designer, click the Custom Page in the Workflow Outline (1), then in Properties > General Setting click Custom Page Settings (2).
- In the Custom Page Settings window, keep Custom Page Type set to Custom Page Content (1) and click Next (2).
- In the Custom Page Layout Editor, click Source (1) to enter HTML directly, or place the cursor in the editor and click Insert WildCard (2) to insert a
[currentUser:...]field from your member database. Wrap the content in an{IF ... THEN} ... {ENDIF}block and click Save (3):
- Click Save on the Workflow Designer toolbar.
{IF [currentUser:Invite Status] <> 'Verified' THEN}
<div class="welcome-message"><strong>Welcome!</strong> Complete your profile to get started.</div>
{ENDIF}
Important: Keep the [currentUser:...] wildcard without single quotes on the left side of the operator (= or <>), and keep the comparison value in single quotes on the right side.
0 Comments