Codeshare List of user-contributed code snippets for dotCMS Java CMS.

Tagged: "custom fields"

Password Custom Field

Author: Dotcms | Created: Feb 19, 2013

The following code can be used to add a Password field to a content structure, including a Form.

Ace Editor Custom Field

Author: dotcms | Created: Jul 03, 2014

The Ace text editor is an online code editor written in JavaScript. It matches the features and performance of native editors.

Pulling a list of content into a custom field

Author: Jason Smith | Created: Aug 30, 2012

This code will pull a list of content into a custom field and create a select box for each result. Onchange it will set the value of the custom field.

Pull a dropdown list (select) of other content into a custom field

Author: Stephen Bell | Created: Jan 15, 2013

Use this code in a custom field, to pull a list of other content into a select field. This code uses the jQuery Javascript library in a way that shouldn't...