editing multiple selectbox link entries at once
This is an open discussion with 2 replies, filed under General.
Search
have you set the field name on the front end to be an array? So it would look something like fields[name][]
Ended up adding a selected entry to a hidden selectbox for each entry with jquery, it solved the issue.
$(".setme").append("<option value='"+field.value+"' selected='selected'>"+field.text+"</option>");
Create an account or sign in to comment.
Ive got a list of entries on a page in the front end that I want to edit using 1 multiselect dropdown, Im using jquery to set all the inputs to match the one dropdown,
My problem
When i submit I can create item1,item2, in the fields, but the select box link doesnt link to each item seperately it concats the item1,item2, into one.
So when you look at the entry in the back end nothing is selected and in the data source it shows (item)item1,item2,(/item) as one item not 2.
What is the correct syntax for setting a selectbox link to equal another selectbox?