Yes, but the problem with this is that it creates empty variables. And salesforce.com has issues when you try to pass empty variables.
This worked for me when trying to create a query string to send to salesforce's web-to-lead form. I had to create the same name for each checkbox, in other words:
And this worked to fill what should have been a multiselect drop-down menu (a multi <select> element)... except it only worked if all checkboxes were ticked.
If one was left empty, than that value was "" - blank, and therefor threw an error in Salesforce.
it seems like there should be a way to include a single array form field value from the multiple checkboxes for a single item in the query string.
Posted 11 years ago on Tuesday January 18, 2011 | Permalink