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

Tagged: "custom fields"

Password Custom Field

Author: Dotcms | Created: Feb 18, 2013

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

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

Author: Stephen Bell | Created: Jan 14, 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...

Custom Field: Linking to different Content

Author: Daniel Patterson | Created: Dec 10, 2019

A custom field that pops a browser and allows you to select and style a link.

Pulling a list of content into a custom field

Author: Jason Smith | Created: Aug 29, 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.

Ace Editor Custom Field

Author: dotcms | Created: Jul 02, 2014

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