Skip to main content
Solved

How to prefill Multiple Select in a form?

  • June 25, 2019
  • 1 reply
  • 23 views

These approaches don’t seem to work:

foo=value1&foo=value2&foo=value3

foo[]=value1&foo[]=value2&foo[]=value3

Is there a way to do this?

Best answer by AlliAlosa

Try this: ?prefill_foo=value1,value2,value3

A quick test worked for me using that approach!

1 reply

Forum|alt.badge.img+19
  • Inspiring
  • Answer
  • June 25, 2019

Try this: ?prefill_foo=value1,value2,value3

A quick test worked for me using that approach!