Set A Field Equal To Something
Join the DZone community and get the full member experience.Join For Free
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.