Setting checkbox value on template in Sign from Creator

Setting checkbox value on template in Sign from Creator

Good day,

Please help me understand how do I set a tick from a checkbox in Creator into a checkbox on a Sign template. Below is the only values on the Sign template and the code from Creator,

            "field_boolean_data": {},

"field_date_data": {},

"field_radio_data": {},

"field_checkboxgroup_data": {}


Code in Creator:

CheckBoxData = Map();
// Assuming 'MyCheckboxes' is the name of your Checkbox field
selected_options = userForm.Checkbox;
// // To check if a specific value is selected
if(selected_options.contains("Value"))
{
info "Option A was selected.";
CheckBoxData.put("Value - 1",userForm);
// Replace with your actual field name
CheckBoxData.put("value",true);
// Set to true for checked, false for unchecked
}
// To iterate through all selected options
for each  selected_option in selected_options
{
info "Selected: " + selected_option;
}

actionMap.put("field_checkboxgroup_data",CheckBoxData.containValue("Value"));


    • Sticky Posts

    • Free webinar! Build smarter apps with Zoho Sign and Zoho Creator

      Hello, Bring the power of digital signatures to the apps you build in Zoho Creator! Connect Zoho Sign as a microservice and enable seamless e-signature workflows in your applications. This integration allows you to automate signing tasks using Deluge.