{"BpmView":{"templateMeta":{"form":{"hidden":["<input type=\"hidden\" name=\"isSaveAndNew\" value=\"false\">"],"buttons":["SAVE","CANCEL",{"customCode":"{if $fields.status.value != \"Completed\"}<input title=\"{$APP.LBL_CLOSE_AND_CREATE_BUTTON_TITLE}\" class=\"button\" onclick=\"document.getElementById('status').value='Completed'; this.form.action.value='Save'; this.form.return_module.value='Tasks'; this.form.isDuplicate.value=true; this.form.isSaveAndNew.value=true; this.form.return_action.value='EditView'; this.form.return_id.value='{$fields.id.value}'; if(check_form('EditView'))SUGAR.ajaxUI.submitForm(this.form);\" type=\"button\" name=\"button\" value=\"{$APP.LBL_CLOSE_AND_CREATE_BUTTON_LABEL}\">{\/if}"}]},"maxColumns":"2","widths":[{"label":"10","field":"30"},{"label":"10","field":"30"}],"useTabs":false,"tabDefs":{"LBL_TASK_INFORMATION":{"newTab":false,"panelDefault":"expanded"},"LBL_PANEL_ASSIGNMENT":{"newTab":false,"panelDefault":"expanded"}},"syncDetailEditViews":true},"panels":{"lbl_task_information":[[{"name":"name","displayParams":{"required":true}},{"name":"status","displayParams":{"required":true}}],[{"name":"date_start","type":"datetimecombo","displayParams":{"showNoneCheckbox":true,"showFormats":true}},{"name":"parent_name","label":"LBL_LIST_RELATED_TO"}],[{"name":"date_due","type":"datetimecombo","displayParams":{"showNoneCheckbox":true,"showFormats":true}},{"name":"contact_name","label":"LBL_CONTACT_NAME"}],[{"name":"priority","displayParams":{"required":true}}],[{"name":"phase_c","studio":"visible","label":"LBL_PHASE"},{"name":"theme_c","studio":"visible","label":"LBL_THEME"}],[{"name":"description"}]],"LBL_PANEL_ASSIGNMENT":[["assigned_user_name",{"name":"team_name"}]]}}}