Hidden Fields in Forms

Do you already know your respondent’s name, email, or other information? With Hidden fields, you can feed this right into your form so respondents can skip filling out this information. 

Mark any Email, Text, URL, Dropdown, Priority, or Number Custom Field as hidden, and they will be captured through your unique URL or embed code.

 

Feature availability and limits vary by plan and user role. Learn more.

 

Set a field as hidden

To set a field as hidden in Form view:

  1. Edit a Form.

  2. Hover your mouse over an email, text, URL, dropdown, or number field in your form.

  3. Click the ellipsis ... menu.

  4. Check Hidden field.

  5. Hidden fields are added to your shareable link or embed code.

2024-02-27_16-10-47.png

Form URL structure

You'll need to append a valid value to the end of a Form's public URL to fill out hidden Custom Fields. Forms will fail to submit the value that is input doesn't exist.

The URL will use the following format:

Public URL + ? + field label + field value

For example: https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?Source=ClickUp%20Form

In the above example, this Form view includes a dropdown Custom Field called Intake Source, which is labeled Source on the Form. "ClickUp Form" is one of the values in the dropdown Custom Field.

When you copy a Form link, you'll see any hidden fields added to the end of the Form's URL automatically. Prior to pasting the URL into the search bar, replace the xxxxx placeholder text with a valid value.

When a field name or value includes spaces, use %20 between each word.

Pass a line break

To pass a line break on your Form, add %0D%0A to the URL. 

Get the Public URL

You'll need the public URL or embed code to include values for hidden fields.
To use the direct link:
  1. Click Copy link to obtain the public URL for your form.
  2. Replace the xxxxx placeholder with a valid value.
To use embed code:
  1. Click the dropdown arrow next to Copy link
  2. Select Copy Code.
  3. Edit the src tag of your embed code to include the field label and value.

Example snippet of a Form view embed code:

<iframe class="clickup-embed clickup-dynamic-height" src="https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?Source=ClickUp%20Form" onwheel="" width="100%" height="100%" style="background: transparent; border: 1px solid #ccc;"></iframe><script async src="https://app-cdn.clickup.com/assets/js/forms-embed/v1.js"></script>

Add values to the Form URL

When you copy a Form link, you'll see any hidden fields added to the end of the Form's URL automatically. Simply replace the xxxxx placeholder text with a valid value. 

Field label and values are case-sensitive, and in order to add multiple prefilled Custom Fields you need to separate them with a "&".

Example of a copied Form view link:
https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?Request%20Source=xxxxx

Below are more examples of form view URLs with hidden field labels and values.

Email Custom Fields

Add a complete email address to a hidden Email Custom Field. For example:

https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?email=test@gmail.com

Date Custom Fields

For Date Custom Fields, enter your date in unix timestamp format. For example, the below example is Tuesday, January 21, 2020 at 18:12:42 GMT+0000.

https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?Date=1579630362234

Phone number Custom Fields 

Area code must be added with a space following it before entering the phone number. 

For Example, for US numbers, add values to the URL:Phone%20Custom%20Field=%2B1%20 

Dropdown Custom Fields 

Include valid values from a dropdown Custom Field. 

For example: https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?Source=ClickUp%20Form

In the above example, this Form view includes a dropdown Custom Field called Intake Source, which is labeled Source on the Form. "ClickUp Form" is one of the values in the dropdown Custom Field.

Priority field

The task priority can be set using the following values:

  • 1 = urgent
  • 2 = high
  • 3 = normal
  • 4 = low

For example:

https://forms.clickup.com/f/ad-4679/NN9MMFH6QOKWVJUXUT?Priority=3

Was this article helpful?