Over a million developers have joined DZone.

Set A Field Equal To Something

DZone's Guide to

Set A Field Equal To Something

Free Resource
A basic code sample for tcm_write_macros. It sets a custom field to a value

/* also - custom-1, custom-2, custom-3, custom-4, custom-5, etc for custom fields. */
var obj = document.getElementById('custom-3');
obj.value = "VALUE";

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}