Create new Textbox CMS Widget

Vote:
 

Hi,

I have a page in the CMS that requires either 1,2,3 or more textboxes but nothing is set in stone to the actual amount needed so I was wondering if there is a way that I could create my own Widget?

For example it starts off with one Textbox but if the user wants another textbox they could click ADD and a new textbox appears. The data could be stored in a List.

Any ideas if this is possible?

Jon

#144152
Feb 08, 2016 16:30
Vote:
 

You mean for the end user or for an editor in edit mode?

#144158
Feb 08, 2016 17:23
Vote:
 

Maybe you could use list property with just one Text field? Then there will be no custom development.

http://world.episerver.com/blogs/Per-Magne-Skuseth/Dates/2015/11/trying-out-propertylistt/

#144176
Feb 08, 2016 20:55
Vote:
 

Depending what you need it for, categories might be a solution too...

Custom property is your other bet of course.

If you think that you might need more data than simple strings later it might be worth adding a separate content type for them. 

#144178
Feb 08, 2016 22:53
Vote:
 

Hi All,

Yes it is for the Admin user in the CMS.

Jon

#144197
Feb 09, 2016 9:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.