meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 63 forks source link

Organizing the Entry Page form fields and labels #1677

Open jberanek opened 8 years ago

jberanek commented 8 years ago

I was wondering I'm reading over the instructions on how to add items to the entry form. it seems to favor Dropdown boxes and it seems Checkbox support seems very limited to 1 item. instead of a grouping of items under 1 mysql column.

is there a way to get items for example in the config file $vocab_override['en'] ['entry.coffee_machine'] = "Coffee Machine"; $vocab_override['en'] ['entry.tea'] = "Tea"; $vocab_override['en'] ['entry.soda'] = "Soda";

(As adding items this way seems to make it hard to actually organize the entry page, )

is there a work around is there a way to organize the items on page, as not eveything I need is a Dropdown item I need Checkboxes organized under a Header and or allowed in a group ie : Refreshments

Refreshments in mysql column holding multiple items, or even if I have several (Hundreds) of individual columns coffee - tea - soda - Hot Food - breakfast

What I would like to do is organize the items under a header Refreshments: [ ] Coffee Machine [ ] Tea [ ] Soda .. etc .. etc

is there a way to have the config file or the entry page or room page items organized that way?

Currently this is in the entry page: echo "<div id=\"div_Refreshments\">\n"; echo "\n"; echo "

\n";

this is in the config page: $vocab_override['en'] ['entry.coffee_machine'] = "Coffee Machine"; $vocab_override['en'] ['entry.tea'] = "Tea"; $vocab_override['en'] ['entry.soda'] = "Soda";

is there a way to merge this? where it will show up on the page like this Refreshments: Coffee Machine [] Tea[] Soda []

instead of this: Coffee Machine [] Tea [] Soda[] Refreshments:

Reported by: *anonymous

Original Ticket: mrbs/support-requests/953

jberanek commented 8 years ago

No, there isn't an easy way I'm afraid. However it's a good feature request. Ideally I think one would want to be able to choose between a select drop-down and radio buttons for single items and a select and checkboxes for multiple items. I'll have a think about it.

Original comment by: campbell-m

jberanek commented 8 years ago

So, there is no possible way of adding checkboxes to the MRBS with something like this:

Refreshments: [ ] Coffee Machine [ ] Tea [ ] Soda .. etc .. etc

Original comment by: *anonymous

jberanek commented 8 years ago

Well yes, there is, but you'd have to modify the MRBS code.

Original comment by: campbell-m