Wiredcraft / jekyllpro-cms

A lightweight CMS for Jekyll websites.
http://jekyllpro.com/#cms
MIT License
7 stars 2 forks source link

Allow inputs to have value different from display #31

Open hunvreus opened 7 years ago

hunvreus commented 7 years ago

We need to be able to have form elements like checkboxes, radio buttons or select boxes to have values not equal to what is displayed to the user.

For example, a select box could have a list of 3 options: "No", "Yes", "Maybe". These could be respectively associated with 0, 1, 2.

Other example would be to have a layout field with the following options/values;

This should be supported in select and multi-select fields.