1

Lookup field

The lookup field is used to access data from your datasets in order to autopopulate information into your form.

As an example, let’s say you are filling out a purchase order for a regular vendor. Rather than typing in all the fields, it would be great to auto-populate the vendor information.

Creating the dataset

To do this, you first need a dataset that has all of your vendor information. You can create your own dataset or download a template from the marketplace. 

In this example, the dataset has these fields: Name of the company, Nature of business, Contact person, and Phone number. 

Configuring the Lookup field

In your form, create a lookup field called Name of the company. This will be the field that causes the others to pull up the correct data.  

Under Choose a flow to look up, select the dataset that has your vendor information. 

Then under Select all fields that will be used by this process, you need to select all the fields you plan to use at any time in your form.

The next section says Hide fields from displaying during selection. Here, you can limit the fields that show when making the initial lookup. If you don’t select this one, then in the live form, all the fields will display like this:

If you hide all the other fields except for the name of the company, then only the name and the Key field will show.  

Adding auto-populating fields

Now add the other fields you want to auto-populate as text fields. 

Where it says Is this a computed field?, move it to Yes.  

The formula you will use is:

[name of the lookup field ID].[name of the field in the dataset]

For this field, the formula is: 

Name_of_the_company.Nature_of_Business

Do the same for all the other fields. 

The live form

Back in the live form, when you choose the company name, all the other fields will automatically show up.

Using a Lookup field within a table in a form

If you are using a lookup field inside a table, the rows in the column will show the Key value or in case a Key is not available, the first field value that was selected. If the first field value is not defined, then it is shown as <field_name>: undefined. Clicking the row will display all the values of the selected fields.

FAQs

1. What are the various soft limits in Kissflow forms?

Ans) To improve performance and ensure efficient use of resources, Kissflow has put up the following restrictions on each form:

  • A maximum of 1000 fields per form.

  • A default soft limit of 10 child tables in every form.

  • A default soft limit of 100 columns per child table.

  • An upper limit of 5000 rows per child table.

  • An upper limit of 30 events per form (button fields not included).

2. Can I change field data types in a form with more than 5000 items?

Ans) You cannot change field data types in a form when there are more than 5000 records. This restriction is in place to prevent potential versioning issues when modifying data types for large forms. Changing data types for many values can lead to inconsistencies and performance problems.

3. Are there any field types in Kissflow forms that do not have soft limits?

Ans) Yes, certain field types in Kissflow forms are not subject to soft limits:

  • Rich text fields.

  • Grid fields.

  • Button fields (these have a separate soft limit of 100 buttons per form, in addition to the default form limit).

Rich text and Grid fields are exempt from restrictions as they don't contain metadata.

4. What happens if I duplicate a section with increased limits?

Ans) If a flow with increased limits is duplicated, the new flow will inherit the same incremented limits.

5. Will I receive any warnings when approaching these limits?

Ans) Yes, warnings will appear when you are close to reaching the limits. For example, when you have 990 fields and 90 columns, you will receive warnings indicating that you are approaching the limit and suggesting that you request an extension if needed.