Skip to main content

Block tags and customizable user fields

Block tags automatically show or hide content depending on whether a Custom User Field is filled in or not

⚠️ Before you start, we recommend reading the tutorial What are Block tags? to make sure you understand how they work and what they're used for.

The examples below use fictional IDs.

👉 When using this feature, make sure to replace these IDs with the ones from your own form.

ℹ️ Each custom user field has an ID in the form user_refn (where n is the field number) and an associated tag in the form ##_user_refn##.

You can use a customizable user field's ID as a suffix in block tags.

Syntax

Result

##_block:_user_ref1##

Content (image, text, table...)

##_block:_user_ref1##

The content is displayed if the user's first custom field is filled in on their profile

##_block:_user_ref1-value##

Content (image, text, table...) ##_block:_user_ref1-value##

The content is displayed if the user's first custom field contains the specified value on their profile

Practical examples

Your custom fields are DEPARTMENT and CITY. On your user's profile, the first field contains the value Vaucluse and the second contains the value Avignon.

1 — Display a table if the DEPARTMENT field is filled in

Wrap your table with the block tag ##_block:_user_ref1##

➡️ The table is displayed in the export as soon as the DEPARTMENT field contains any value.

2 — Display a table only if DEPARTMENT = Vaucluse

Wrap your table with the block tag ##_block:_user_ref1-Vaucluse##

➡️ The table is only displayed if the DEPARTMENT field is exactly equal to Vaucluse.

Did this answer your question?