Topic on Extension talk:Semantic Forms Inputs

Multiple values for a menuselect field

9
Fary (talkcontribs)

Hi all,

I'm trying to use multiple values for a menuselect field. I tried to use a arraymap as Semantic Forms but it doesn't work. I don't know if it's possible but if it's case a help will be welcome. Thanks in advance

85.152.18.129 (talkcontribs)

I share my little progress despite I don't have what I would want. May be I can have a feedback that can help me!

I use a template and with the call

{{{for template|MyTemplate|multiple}}}

I can have the number of fields I want. But the problem is since I specify values ​​with a menuselect and when I edit the page for the first time values ​​do not appear and if I enter values by my hand it doesn't considere it!

I'm working on, if I have a solution I will share wiht you but if somebody has an idea it is welcome

Cheers.

Fary (talkcontribs)

the previous post is mine! I forgot to identify myself

F.trott (talkcontribs)

Hi. I am not sure I understand the problem. Could you explain a bit more? Maybe using a concrete example?

Fary (talkcontribs)

Here is an example

{{{for template|InfrastructureType|multiple}}} 
{{{field|Infrastructure type|input type=menuselect |size=75
|structure=
*Cultural Building
*School
*Hospital
}}}
{{{end template}}}

the problem is when I create a page with this template the scrolling list doesn't display

F.trott (talkcontribs)

That's a bug, it definitely should display. I will investigate it.

F.trott (talkcontribs)

I reworked the menuselect input. Could you try the development version and see if ti works now? (You will also have to update Semantic Forms to the latest version.)

Fary (talkcontribs)

Hi, I installed Semantic Forms 2.4.1 and Semantic Forms Inputs 0.6 alpha but with my previous instance the issue is the same. To have it I need to create a page with a empty field and if I re-edit the page I could have it now.

F.trott (talkcontribs)

Ok, I do not know, if you still care. Sorry for the delay. I think this bug is now finally fixed. You will need the latest development versions of SF and SFI. Fixes to both extensions were necessary.

Cheers.

Reply to "Multiple values for a menuselect field"