This project is read-only.

Unordered List Unlimited Fields

Topics: Administration, Customizing Orchard, General
Aug 9, 2012 at 11:43 PM

First off let me say I am a noob to Orchard. But what I am trying to do is create a Content Type for Recipes, and I can't figure out a way to have multiple fields, if it may only be one or one hundred, for the Ingredients. I don't want to use a text area and let users mess up any formatting, and would like to make it into an unordered list, with each field that text has been entered a list item.

Any insight on how I could accomplish this would be greatly appreciated.


Aug 10, 2012 at 4:20 AM

I'm sorry but I don't understand what you mean by "content type for recipes" and "ingredients".

Aug 10, 2012 at 4:45 PM

I have a custom content called Recipes. All I am trying to figure out is how to have an unlimited amount fields that I can display in an unordered list.

Aug 10, 2012 at 4:58 PM

Comma separated text field?  

Aug 10, 2012 at 5:16 PM

Not to sure what you mean by "comma separated text field". Like a single text field, enter all ingredients, comma separated?

Aug 13, 2012 at 5:22 PM

So I could see this theory working, but what if the user wants to actually have a comma in that list item?

Aug 18, 2012 at 10:11 AM

Have the user enter one ingredient per line, using a textarea.