Copying data from one field to another
Ultimately I would like to use a different field on the lead when converting to an account rather than use the company field, so I figured a simple code to copy data would be the solution but I am having troubles.
Is there any easy built-in way to copy value from one field to another? During debugging, I get a timeout before it updates anything.
Sample code;
const temp = ZDK.Page.getField('Building_Address')
temp.getValue();
ZDK.Page.getForm().setValues(
{
Company: temp,
}
)