Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is this available in U7?
I have used this quite a bit in U4. If its not available is there an alternative?
Yes it is called "Umbraco.MultipleTextstring" I have Razor snippets but haven't yet committed to documentation.
if (Model.Content.GetPropertyValue<string>("keyFeatureList").Length > 0)
@foreach (var item in Model.Content.GetPropertyValue<string>("keyFeatureList"))
if (CurrentPage.keyFeatureList.Length > 0)
@foreach (var item in CurrentPage.keyFeatureList)
Thanks for responding Jeavon. I don't see MultipleTextstring as an available datatype in my list for 7.11
Yes, you need to create a new data type and call it "Multiple Textbox" and then select "Multiple Textbox" as the property editor and save
Beautiful. Thank you. I am going try this out with Archetype.
Works perfectly - Thanks Jeavon!!
I've just found this and would like to use it but my simple validation expression doesn't seem to work - I assume that it's validating a delimited version of all the strings combined?
Do you know how I can write a simple validation regular expression which is the same for all fields?
I would like to build my own similar control but instead of a single Multiple text box i would like a block of text boxes to be repeatable.
Is this possible?
You could use nested content for this.
Make a document type with the strings that you want.
Than make a datatype, select nested content and select the documenttype you just made.
Now you have repeatable blocks.
Did you solve this issue?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted