Skip to main content

Return to TX Community

Liaison

Creating TX Forms

TX Forms are a lightweight option for creating forms for Inquiries (using General forms), Applicants (using Application forms), or Event Registration (using Event forms). TX Forms provides the ability to include specific, predefined fields, Custom Questions, and assignment of Source values. You can configure Conditional questions, option groups, Disclaimers, and more.

Creating a new General TX form

Use General forms to create an Inquiry or any form unrelated to an Event or Application. As a best practice, be sure to adopt standard naming conventions for forms shared organization-wide so it's clear what function or business your form serves.

  1. Navigate to TargetX Builder.
  2. Select the TX Forms icon.
  3. Click on the General icon [Icon for General TX Forms].
  4. Click the + to create a new form.
  5. Enter a Form Name and click Create.
  6. Complete the Details tab. Use the table below to understand the various options:

Field

Description/Notes

Form Title Title for your form. This will display in the left pane, along with your Description.
Description

Description of the form. This will display in the left pane and should provide context for the user.

You can include a link to a URL in the form description.  

  • Highlight the field which should include a link and click the link icon.
  • Click the Check to Save.

window with link icon

  • Limitations:
    • You cannot change font colors.
    • If you include a numbered list in the Description, you can’t format the numbers to ‘restart’ or ‘continue’ if there is a break in the list of numbered items.
    • If you choose to ‘indent’ a numbered item (using TAB key), the numbering will not change to a different format. For example, you cannot format a list as: 
  1. Item A

    1. Item B

Logo URL

The public URL for your institution logo or the link to a Public static resource image file. This will be displayed in the top left of the form panel. See below for details on building the Public URL for Logo or Poster images.

  • Recommended image size: 70 x 60 px.
Poster URL

The public URL for the image or the link to a Public static resource image file. This will be displayed in the left pane, behind the Logo, Form Title, and Form Description. See below for details on building the Public URL for Logo or Poster images.

  • Recommended image size: 768  x 1024 px.
Confirmation Message The message is displayed once the user submits the form.
Use Captcha

Enables the reCAPTCHA option to display at the end of the form:

 Not a Robot checkbox

Redirect to Custom URL Allows you to enter a URL that the user should be directed to after they submit the form and select Done. If left blank, the user is directed back to the location they came from.
Sharing | Sites

Allows you to select one of your Sites to display the form. For example, if you have an Inquiry Site, select the Site from the list and then Copy the link to view it.

  • The Public URL information is used to build the URL dynamically, and the Embed Code Snippet is displayed. This information is NOT saved along with your form.

When using a new site for different form types, you must add permissions for the Inquiry, Org Event or Application objects for the site guest user. You will need the list of all the fields added to your form. 

For additional information on Permissions and TX Forms, see Implementing TX Forms.

  1. Click the Content tab.
  2. Update the Title for the first section by clicking the edit icon, entering your Title, and clicking Done. Expand or collapse the section by clicking the bar or the  icon. The Section Name is displayed in Bold above the Section.
  3. Drag and drop or select Content Blocks from the Content tab.

Note: If you click the Content tab before adding any sections, the system creates a Section automatically.

  1. Add additional Sections by clicking the Add Section button.
  2. Continue to add the appropriate Content Blocks by dragging and dropping blocks from the Content tab.
  3. You can Preview your TX form by selecting the Preview icon [] from the Forms list or the form itself. 
  4. Once you build your form, share it using the Action Menu.

Note: When users submit a form, Contact matching is based on the following:

  • First Name
  • Last Name
  • Email

The system will look for an EXACT match on all 3 of the above fields. For details on customizing Contact matching, see Managing TX Forms.

Building the Public URL for Logo or Poster images

Logo and Poster images for General forms use a public URL referencing a Static Resource. Follow these steps to build your Public URL:

Step 1: Create Static Resource for images

Once you create a Static Resource for your Logo and Poster images, you must copy the URL.

  1. Navigate to Setup and search for Static Resources. Click the link for Static Resources.
  2. Click New or click an existing Static Resource.
  3. Enter the following:
  • Name – enter a name that does not include spaces, such as My_Logo.
  • File – navigate to the location of the file you wish to use.
  • Cache Control = Public
  • Save the image.
  1. Click the View file link.
  2. Copy the URL.
Step 2: Copy the Link to your Site
  1. Navigate to Setup and search for Sites.
  2. Copy the Site URL for the Site you selected in the Public URL section.
Step 3: Create the Poster/Logo URL
  1. Combine the Site Link from Step 2 and the Static Resource link from Step 1 (beginning with /resource).

Examples:

  • Link to Static Resource:https://myorg.force.com/resource/1652377062000/My_Logo?
  • Link to Site:  https://mysite/inquiry
  • Poster/Logo URL https://mysite/inquiry/resource/1652377062000/My_Logo?

Creating a new Application TX Form

The Application Form type is a form that centers around a Contact and an Application (in contrast with the General form that is just Contact-focused). This allows you to create records linked to the Application, meaning you can have questions on the Contact level, on the Application level, and on an Essay record (for example) related to that application. As a best practice, be sure to adopt standard naming conventions for Forms that are shared organization-wide, so it's clear what function or business need your Form serves.

The object selector for Application Form types will display both Contact and Application related objects, as seen in the screenshot below:

TargetX TX Forms App Form object select

Once selected, the objects collapse down and display as:

TargetX TX Form Application object field result


These options display in all places where the object selector exists. This includes the Visibility conditions and Option Groups.

  1. Navigate to TargetX Builder.
  2. Select the TX Forms icon.
  3. Click the Application icon [TargetX Application form icon].
  4. Click the + to create a new form.
  5. Enter a Form Name and click Create.
  6. Complete the Details tab.
    1. Click here to view the various options

      Field

      Description/Notes

      Form Title

      Title for your form. This will display in the left pane, along with your Description.

      Description

      Description of the form. This will display in the left pane and should provide context for the user.

      You can include a link to a URL in the form description. Choose whether to open the link in a New Window. 

      • Highlight the field which should include a link and click the link icon.
      • Click the Check to Save.

      window with link icon

      • Limitations:
        • You cannot change font colors.
        • If you include a numbered list in the Description, you can’t format the numbers to ‘restart’ or ‘continue’ if there is a break in the list of numbered items.
        • If you choose to ‘indent’ a numbered item, the numbering will not change to a different format. For example, you cannot format a list as: 
          1. Item A
            1. Item B

      Logo URL

      The public URL for your institution logo or the link to a Public static resource image file. This will display in the top left of the form panel. See below for details on building the Public URL for Logo or Poster images.

      • Recommended image size: 70 x 60 px.

      Poster URL

      The public URL for the image to display in the left pane.

      • Recommended image size: 768 x1024 px.

      Confirmation Message

      The message displayed once the user submits the form.

      Use Captcha

      Enables the captcha option to display at the end of the form:

       Not a Robot checkbox

      Redirect to Custom URL

      Allows you to enter a URL that the user should be directed to after they Submit the form and select Done. If left blank, the user is directed back to the location they came from.

      Sharing | Sites

      Allows you to select one of your Sites to display the form. For example, if you have an Inquiry Site, select the Site from the list and then Copy the link to view it.

      • The Public URL information dynamically builds the URL and Embed Code Snippet displayed. This information is NOT saved along with your form.

      When using a new site for application form types, you must add permissions for the application object for the site guest user. You will need the list of all the application fields added to the form:

      1. Navigate to Setup and search for Sites.
      2. Click your site, such as Inquiry.
      3. Click the Public Access Settings button.
      4. Click Object Settings.
      5. Select the Application object and click Edit.
      6. Assign READ and CREATE access to the Object.
      7. Assign READ access to any Application fields configured for your TX form.
  1. Click the Content tab.
  2. Update the Title for the first section by clicking the edit icon, entering your Title, and clicking Done. Expand or collapse the section by clicking the bar or the Up arrow Icon to expand collapse icon. The Section Name is displayed in Bold above the Section.
  3. Drag and drop or select Content Blocks from the Content tab.

Note: If you click the Content tab before adding any sections, the system creates a Section automatically.

  1. Add additional Sections by clicking the Add Section button.
  2. Continue to add the appropriate Content Blocks by dragging and dropping Content Blocks from the Content tab.
  3. Preview your form.
  4. Once you build your form, you can Share using the Action Menu.

Note: When users submit a form, Contact matching is based on the following:

  • First Name
  • Last Name
  • Email

The system will look for an EXACT match on all 3 of the above fields. For details on customizing Contact matching, see Managing TX Forms.

Creating a new Events TX Form

You can create TX forms for Events from several locations:

  • Event Settings tab
  • Organization Events tab (when creating, viewing, or editing an Event)
  • Event Forms tab
  • TargetX Builder (from TX Forms icon)

The Form Builder button allows the creation of a New TX Form that can be assigned to the Org Event. As a best practice, be sure to adopt standard naming conventions for your Forms that are shared organization-wide, so it's clear what function or business need your Form serves.

  1. Navigate to either Event Settings, Organization Events, or create a new Events TX form from TargetX Builder.
  2. Locate the Event Forms Options section.
  3. In the Event Form Type, select TargetX Forms.
  4. Select a Default TargetX Form by clicking the magnifying glass to search or click on the Form Builder button to create a NEW form.
  5.  Click the + to create a new form.
  6. Enter a Form Name.
  7. Indicate if you want to use reCAPTCHA for your Event form

Toggle to enable Captcha on Event TX Form

  1. Click Save.

Note: Description, Logo, and Poster images are defined in the Event record.

  1. Click the Content tab to begin adding Sections to your form. A new Section will be automatically added.
  2. Add a Name to your Section:
  • ​​​Click the Edit icon [Edit icon] to enter a Section Name.
  • Click Done to save the Section Name.
  1. Configure Content Blocks. A Content Block refers to the type of data you are collecting; such as Questions, Disclaimers, Hidden Fields, etc.):

enter display text

  1. Continue to add Content Blocks as needed.

Note: For Events forms, the left panel is defined by your Event setup

1 - Header Logo
2 - Header Text
3 - Event Name and Description
4 - Event Start and End Dates
5 - Event Poster Image

Event Setup Diagram

 

  1. Enter any Custom Questions.
  • These questions are in addition to any Custom Questions configured on your Event and will display under Additional Information when users register.
  • Depending on your selection, the user’s answers to TX Event Form Custom Questions will be displayed in the Inquiry or Contact record.
  • Custom questions built into the Organization Event record will continue to store responses in Contact Schedule Item records.  Only guest count and organization event custom questions will be presented when bypassing any registration form if configured.

Notes:

  • Administrators MUST grant READ access to any fields included in your Custom Questions:
    • Add READ access to the Profile of the person(s) creating the form.
    • Add READ/WRITE to the Guest Site User profile.
  • When using a new site for Events form types, you must add permissions for the Org Event object for the Site Guest User. You will need the list of all the fields added to your form.  For additional information on Permissions and TX Forms, see Implementing TX Forms.

  • Contact Matching is based on first name, last name, and email address.
  1. Save your changes. The system will validate your form.
  2. Assign the form to your Event:
    1. Navigate to the Organization Events tab.
    2. Click on the Event that you wish to assign your form.
    3. Click Edit.
    4. Scroll to the TargetX Event Forms section.
    5. Click on the Search icon [image.png] to search for your form.
    6. Click on the Form you wish to assign.
    7. Save your changes.
  3. Preview your form by clicking the Event Registration Link, or by selecting the Preview icon [] from the Forms list or the form itself. 
  4. If you wish to make changes after Preview, click on the Form Builder button in the TargetX Event Forms section, and you will be directed back to your form: Form builder button
  5. Save your changes.

Adding Sections

Sections define the different areas of your form. The Section Header contains several components:

1 - Section Title displays as a Header on the form (new sections will default as New Title 0, New Title 1, etc).
2 – Edit allows you to update the Section Title.
3 – Delete deletes the Section.
4 – Move Section up/down can be used to move a Section up and down within a Form.
5– Expand/Collapse will expand or collapse the Section details.

Section Header details

  1. Click the Add Section button at the bottom of the form: Add section button
  2. Click the Edit icon [edit icon] to enter a Section Name.
  3. Click Done to Save the Section Name.
  4. From the Content tab, drag the appropriate Content Block to your form.
  5. Select the Object and Field where the data will be saved.
  6. Enter the Display Text (1) for the Content.
  7. Save your changes.

Display text

Adding Repeatable Sections

Repeatable sections enable you to configure one section that can be displayed multiple times to collect multiple records. For example, you might use a repeatable section for Enrollment History so students can enter multiple education records.

  1. Create or edit a form and add a Section.
  2. Select the Make this section repeating toggle.
  3. Specify the Object that all the questions will reference, such as Enrollment History.
  4. Indicate the minimum and maximum number of records. For example, you might indicate a minimum of one but a maximum of three if you require an entry but do not want the student to enter more than three enrollment histories.
  5. You can choose to specify the text for the button that will indicate more records can be added. By default, the button will read Add One More. To change this, enter different text.
  6. If you want to control when the section appears, enter Section Conditions. Only users who meet the conditions will see the repeatable Section.
  7. Add Content widgets by selecting the type of information being collected. 
    1. The Object will default based on your earlier selection, and you must select a Field and any Conditions. Note: Conditions must be based on fields within the section. 

Configuring Content Blocks

The Content Block header contains some of the same components as the Section Header:

1 – Content Block Type will display the Type of Content you selected (i.e., Question, Disclaimer, Hidden Field, Address Widget, Divider, Display Text, or Upload).
2 – Delete will remove the Content Block.
3 – Move Content Block up/down can be used to move a Content Block up and down within a Section or into a different Section.
4– Expand/Collapse will expand or collapse the Content Block details.

Content Block header diagram

Notes about Field Types

Different options are available depending on the field type selected:

  • Date Fields allow you to choose to Disallow future dates.
  • Number fields allow you to indicate a Minimum and Maximum value for the field.
  • If you are using the School Picker, you can limit the list of schools by selecting a School Type. 
  • Boolean fields – The labels for Yes/No questions can be updated, but you can NOT change the Integration Values.
    • Radio buttons are not an option for yes/no fields.
  • Refresh link—resets the Key and Value lists from SF. This is used if you recently added a value in SF but don’t see it on the list.
  • Autocomplete fields - like School Name, allow you to select the School Type to filter out specific types of schools (optional).
  • Email fields include an option to Enable Email Validation. When enabled, the user is prompted to confirm their email address. The user must then retype their email address to proceed. 

Adding a Question

  1. Click or Drag the Question widget onto your form.
  2. Select the following:
  • Object = Contact or Contact Child Objects.
  • Field = <select an available field>
  • Required = Click the toggle to ON if the field should be required:

Required toggle

  1. Indicate if the question should be Used for Matching:
    1. First Name, Last Name, and Email will default to ON for Use for Matching.
    2. When users submit a form, Contact matching is based on the following:
      • First Name
      • Last Name
      • Email
    3. The system will look for an EXACT match on all 3 of the above fields plus any additional fields you choose for Matching. For details on customizing Contact matching, see Managing TX Forms.
  2. Indicate any Conditions (condition sets) if applicable:
  • Click image.png to add conditions
  • Select an Object, Field, Operator, and Value that must be met for the block to display. You can only select Objects/Fields that have already been added to your form.
  • Click image.png to add additional conditions
  • Save your changes.
  • For additional information on TX Forms Condition Sets, see Adding Conditional Content.
  1. Add any Option Groups, if applicable.
  2. Save your changes.
  3. If errors occur during saving, a panel will display on the right, and the section with the error will be outlined in red. For additional information, see Validating your TX Form.

Note: If you include the Source field on the General form and the user does not answer questions related to the Inquiry fields, the system will still create an Inquiry record with the Source field data.

Notes on Objects with a Connection to Contact

  • Contact [Student] child objects are available in the picklist AFTER the Contact [Student] object.
  • Child objects display with the Lookup field Label in ( ). For example, Inquiry (Contact).
  • EDA objects have the same name as TargetX objects and can be distinguished by referencing the Lookup field Label in ( ).
  • Child records are only created if the student enters data in the fields for that object. 
    • Hidden fields or conditionally hidden fields do not count as being completed if the student does not complete the visible fields.  

Note: Administrators MUST grant READ access to Site Guest Users for all fields configured on your TX Forms.

Working with Picklist Values 

Picklist fields will default the Salesforce configured Values in a text field, and users can remove/rename any they wish. Users can't add new values to the picklist. Values are formatted as follows:

Label, Integration Value

  • A single value without a comma may be used if the label and integration value are the same.
  • You must use double quotes if you have a value that includes an apostrophe. For example, 
    • "Master's Program", "Master's"

Example of Text Picklist

  • Select Clear All to remove all the values in the list or Refresh to set the list back to the initially defaulted values.

Working with Autocomplete Fields

When an Autocomplete field is selected, such as School Name, users can specify an Answer List, a Filter Field, and a Filter Value to display.

You can enter multiple values for the Filter Value by separating each value with a semicolon. An option will display if it contains at least one of the values listed.
Sample Answer List and Filter field

Note: The Site Guest User will need Read/Edit access to the Autocomplete (lookup) field, Read access to the lookup object, Read access to the Answer List and Filter Field fields on the lookup object, and a Sharing Rule will need to be created that grants Read access to the object for the Site Guest User for any records that need to be searched.

Working with Multi-Select Picklist Values 

When a Multi-select picklist field is selected as a field, it will display as such in the Details window:

Display on Details tab for multi-select picklist fields

The question will default the Salesforce configured Values in a text field, and users can remove/rename any they wish. Users can't add new values to the picklist. Values are formatted as follows:

Label, Integration Value

  • A single value without a comma may be used if the label and integration value is the same.
  • You must use double quotes if you have a value that includes a comma. For example, 
    • "Master's Program", "Master's"
  • The student-facing form will display 'Select one or more' in the field:

Student-facing label to select one or more

  • Users will be able to add/remove fields as needed:

Multi-select picklist display when values are selected

Working with Record Types

You can define a Salesforce record type when creating records using a TX Form. This is accomplished by configuring a question or setting up a hidden field. For example, to allow users to enter Advising information such as Kudos or Alerts, configure the following:

Sample Label

Object

Field

Sample Values

Type of Advising record? Advising (Student) Record Type ID
  • Kudos, 01239000000XXXXXXW
  • Alert, 01239000000AXfbXXG
  • Referral, 01239000000XXfcXXG
Category? Advising (Student) Category
  • Academic, Academic
  • Administrative, Administrative
  • Financial, Financial
  • Financial HOLD Registration, Financial HOLD Reg
Type? Advising (Student) Type
  • Attendance, Attendance
  • Participation, Participation
What is this Alert/Kudo about? Advising (Student) Notes/Log <text area field>

Hidden Field (optional)

Advising (Student)

Public?

The value must be set to True to ensure newly created records appear in Student Success Center.

Note: When using URL Pre-fill on a Record Type ID field, use the Label in the URL, not the ID. For example: txf1=Kudos

Your form would then present this to the user:

TX Form Record Type example for Advising records

For details on submitting Faculty Early Alerts with TX Forms, see Submitting Faculty Early Alerts with TX Forms.

Working with Checkbox fields

Question fields that are checkboxes will display the options:

Checkbox field example

You can change the text for Answers, but you can NOT update the Integration Values. If you change the text, the Reset icon will reset the values to default. Radio buttons are NOT an option for Checkbox fields.

Adding a School Picker Field

The School Picker is an autocomplete field used to enter a School Name. When a user types a School Name, the system autocompletes to find the institution name.

  1. Create a new General TX form, or Events TX form.
  2. Add a new Question to your form.
  3. Enter the following:
    1. Object = Contact
    2. Field = Account ID
    3. Answer List = Account Name
    4. Filter Field = optional; specify a Filter Field such as School Level. For more information, see Working with Autocomplete fields.
    5. Filter Value = the value from the Filter field to be used to limit the list. For example, High School.
  4. Enter the Question label, such as 'What School did you last attend?'
  5. Indicate if the question is Required.

Note: Separate the values with a semicolon to add multiple Filter Values. For example, High School;College

Adding an Unknown School Text Field

You can configure your form to display a text field for students to enter a School Name if Unknown School is selected for the School Name.

  1. Create a new General TX form or Events TX form.
  2. Add a new Question to your form.
  3. Enter the following:
    1. Object = Contact
    2. Field = Account ID
    3. Answer List = Account Name
    4. Filter Field = optional; specify a Filter Field such as School Level. 
    5. Filter Value = the value from the Filter field to be used to limit the list. For example, High School.
  4. Enter a Label for the question.
  5. Add a new Question to your form.
  6. Enter the following:
    1. Object = Contact
    2. Field = <custom field to store School Name>
  7. Enter Conditions:
    1. Contact. School Name = <18-digit Salesforce Id for your ‘Unknown School’ record>
  8. Enter a Label for the question.
  9. Save your changes.

Adding a Divider

The Divider will display a dividing line on your form. You can add Conditions to a divider so that it only displays based on a user’s response to another question:

  1. Create a new General TX form or Events TX form.
  2. Add a new Divider to your form.

Divider example

Adding the Address Widget

The Address Widget allows you to add Mailing Address or Other Address fields to your form. The question will automatically default to 'What is your address?'

  1. Create a new General TX form or Events TX form.
  2. Add a Section and add the Address Widget to your form.
  3. Select an Object (Contact or Inquiry) and Field (Mailing Address or Other Address).
  4. Indicate if the Address Widget is Required.
  5. Indicate any Conditions.

Note: If you don’t want to use the full address widget, you can select individual address fields instead or remove any Widget Fields you don't want to be displayed.

TX forms address widget example

Adding Conditional Content

Conditional Content allows you to display certain sections of your form to a specific group of users.

  1. Add a Content Block to your form.
  2. From the Content tab, select an Object and Field.

Notes on TX Forms Conditional Content:

  • You can use multiple objects in your Conditions.
  • Only operators that are relevant to the selected field will display.
  • Any question that includes a Condition MUST include the related field on the form. For example, if you create a Condition of State = PA, then the State field MUST be included on the form; otherwise, the condition will be considered False.
  • Multiple conditions are AND conditions; so, all criteria must be met for the condition to be True.
  • To use a condition where a field is not blank, choose the not equal tooperator [ != ] and leave the Value field blank.
  1. Indicate if the Question is Required.
  2. Click the + next to Conditions.
  3. Select an Object, Field, Operator and Value that must be met for the block to display.
  4. Click  if you wish to add additional conditions.
  5. Save your changes.

Note: Any fields used in your conditions MUST be on the form. For example: If you create a Content Block to display only for PA residents, then you MUST have the State field on your form.

Adding a File Upload

The File Upload widget in TX Forms allows you to enable file uploads for specific types of documents.

  1. Click or drag the Upload widget onto your form.
  2. Select the following:
    • Object
    • File Types - indicate the allowed file types by entering the file type extension. Use a comma for multiple options. For example, doc, docx, pdf
  3. Indicate whether the upload is Required.
  4. Indicate any Conditions.
  5. Add a Label.

Notes: 

  • A batch job, TX Forms Upload Cleanup, is available in Base Custom Settings to clean up orphaned files; if a user uploads a file but does not submit the form, the batch job will remove it.
  • The file size limit is 3MB.

Adding Disclaimers

The Disclaimer Content Block allows you to select a checkbox that a user can click to acknowledge any disclaimers or terms and conditions. For example, you can include a Terms and Conditions section indicating that the user acknowledges that they are allowing your institution to contact them:

Terms and Conditions Disclaimer text example


You can only select a checkbox field (i.e., Boolean field) for a Disclaimer Content Block; the list of fields will automatically be limited to checkbox-type fields:

  • Object = select either Contact or Inquiry
  • Field = select an available checkbox field
  • Required = indicate if the field is required
  • Conditions = you can add conditions if the Disclaimer should only display to a specific set of users.
  • Disclaimer content types will display your Text in ALL CAPS.

Adding Display Text

Display Text can be used to display instructional text on the form. You can also define Conditions to display the text based on specific values. For example, you can add Display Text to a section that will display one set of instructions for In-State students vs Out-of-State students.

  1. Create a General TX form, or Events TX form.
  2. Add a new Display Text to your form.
  3. Enter the text you want to display to users.
  4. Click the + in the Conditions section.
  5. Select an Object (Contact or Inquiry) and Field for the condition.
  6. Select the operator.
  7. Enter the Value for the condition.
  8. Repeat for any additional conditions.
  9. Save your changes.


Example Conditions:

Example Condition for Mailing State = PA

Condition for Mailing State = PA

Example Condition for Mailing State != (not equal to) PA

Condition for Mailing State != (not equal to) PA

Adding Hidden Fields

Hidden fields, such as Source, are used for data you want to collect that isn't meant to be displayed to students. Set the Default value that will be used to populate the selected field, for example:

  • Object = Inquiry
  • Field = Source
  • Indicate the Value in the form pane:

Sample Hidden field

Using Pre-fill URLs

The URL Pre-fill option adds a Pre-fill key that can be populated and shared to Pre-fill certain fields on your form. There is a limit of five Pre-fill fields per form.

  1. Add a Question or Hidden Field to your form.
  2. Click the Enable URL Pre-fill toggle. The Pre-fill key will display below, such as txf1. Note: The Pre-fill key will be referenced in the URL when you add the prefilled value.
  3. Save the form.
  4. Click the Details tab and navigate to the Sharing section.
    1. Select your Site.
    2. Copy the Public URL or Embed Code Snippet, depending on your needs.
    3. Add the Pre-fill value or your choice after the Pre-fill key. For example, if your Pre-fill key was txf1,  your URL would include txf1= as part of the URL. Add the value after the equal sign.

Example Pre-fill URL:

https://yourdomain.my.salesforce-sites.com/Inquiry/TargetX_Base__InquiryForm#?formId=b1MDa55555XW99MAG&formType=general&txf1=<PREFILL VALUE>

Notes:

  • When using URL Pre-fill on a Record Type ID field, use the Label in the URL, not the ID. For example:txf1=Kudos
  • To include multiple values, separate them with a semi-colon. Example: txf1=<PREFILL VALUE 1>; <PREFILL VALUE 2>
  • For Events forms, Pre-fill parameters will only work for Event-specific links. Pre-fill URLs do NOT work on the Event Calendar.
  • Multi-picklist fields can be pre-filled with single or multiple values.
  • When using some special characters to pre-fill data on your form, you must use the HTML Encoded value.
    • For example, to add a + symbol as a prefill value, you must use %2B to pass the + character correctly.  Or %26 for an ampersand (&).  
    • Dashes, like those in a phone number, do not require the HTML encoded characters.  
  • Test your pre-fill code on exposed fields when using special characters to ensure the pre-fill data populates correctly. This is especially important for hidden fields since you cannot see whether the field is pre-filled.

Adding Option Groups

Option Groups display if you've selected a picklist field:

  1. Add a Content Block to your form.
  2. From the Content tab, select an Object and a picklist Field.
  3. Click the + next to Option Groups.
  4. Click the  icon to expand the group and display the fields that must be completed.
  5. Enter a Group Name.
    1. Select an Object, Field, Operator, and Value that must be met for the Option Group.
    2. With your Option Group selected, update the list of Values in the form pane.
  6. Click the + next to Option Groups to add another Option Group.
    1. Select an Object, Field, Operator, and Value that must be met for the Option Group.
    2. With your Option Group selected, update the list of Values in the form pane.
  7. Save your changes.

Option Group example

Notes:

  • Any fields referenced in your Option Groups MUST be on the form. For example, If you create an Option Group to display specific Majors for Master’s students, you MUST have the Degree field on your form.
  • Option groups are evaluated based on the order listed. The system will use the first Option Group that evaluates to True. The DEFAULT will always be last on the list.

 

  • Was this article helpful?