Hi,
I have a multiselect field containing topics. It is a linked field to another table and each topic might contain a comma within its value. I need to prefill a form with that data but I find
Is it possible or do I have to remove the commas within the field values?
Example of topics:
Agricoltura, Ambiente e Territorio, Calamità Naturali
Politiche per il Lavoro, Formazione Professionale e Servizio Civile
Cultura
Formulas I tried:
This only fills the first topic:
CONCATENATE(
IF(
"Prefilling Form Preferenze] view in Contatti] table in base with id 'appYSPQbVoKOqpys7'",
"https://airtable.com/appYSPQbVoKOqpys7/shrVvuD1tVKS88IiG"
),
CONCATENATE(
"?prefill_" & ENCODE_URL_COMPONENT("Temi di Interesse"),
"=" & ENCODE_URL_COMPONENT({Temi di Interesse} & "")
)
)
If I try to remove the comma+space, it doesn't work for the topics that have that inside them:
"&prefill_" & ENCODE_URL_COMPONENT("Temi di Interesse"),
"=" & SUBSTITUTE(SUBSTITUTE({Temi di Interesse},", ",",")," ","+" & "")
I tried ARRAYJOIN with a delimiter different from the comma, but it always separates using commas no matter what:
"Agricoltura, Ambiente e Territorio, Calamità Naturali", "Politiche per il Lavoro, Formazione Professionale e Servizio Civile", Cultura
@kuovonne FYI I also tried your extension and it worked great for all fields except this one.
Thanks