I need to set up a field in LocomotiveCMS that is similar to Select but allows multiple selections. Something like in HTML... does LocomotiveCMS allow for that, or will I have to do some ruby coding to get that to work?
Any help would be appreciated, thanks!
Old question but still a thing.
I'm unsure whether your question relates to fields within the Locomotive CMS Back Office or on the front end so I've addressed both below.
Front End
Irrespective of whether or not you're dealing with Locomotive CMS content types, either of the following will allow selection of multiple values on the front end:
select
element with the multiple attribute)name
propertyBack Office
If you need to allow selection of multiple values within the Back Office, you can do this for content types using the
has_many
ormany_to_many
content type relationships.If you need multiple value selection outside of content types (e.g. in metafields schema) you're unfortunately out of luck.