Prefill only works for first item

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

If you are self-hosting, what version of Baserow are you running?

Baserow version 1.33

What are the exact steps to reproduce this issue?

Hi,
I am using a form and I would like to prefill a field which is a link-to-table. The primary key is a formula.
I use the syntax ?prefill_NAME-OF-FIELD=VALUE but prefill only works for the first value that appears in the list (for other values, the field remains empty).
I have created a second form and the same behavior occurs.
Do you have any idea about this issue?
Thanks,
asan :fox_face:

Hi @asan, this is definitely possible. Here’s what you need to do:

  1. Ensure that the link to table field in the form is set to accept multiple values instead of only a single one
  2. Seperate each additional value by a comma ?prefill_Table 1=qwe,asd

Hi,
Thanks for your answer but I think I was not clear :slight_smile:
My list contains value1, value2, value3, etc. and if I prefill with ?prefill_NAME-OF-FIELD=value1, it works (the field is prefilled with the correct value) but if I prefill with ?prefill_NAME-OF-FIELD=value2 the field remains empty.
Any idea?
asan :fox_face:

Can you share a screenshot of your table and a link to the form? (Privately if you prefer)

I’ve sent you screenshots privately!
Thanks :slight_smile:
asan :fox_face: