For Zoho services only


I'm currently part of a wider delivery team at Ascent Business Solutions, recognised as a leading Zoho Premium Solutions Partner in the United Kingdom.

Ascent Business Solutions support organisations with everything from targeted technical fixes through to full Zoho CRM implementations and long-term platform adoption. Working as a team rather than a one-person consultancy allows projects to move forward consistently, with access to the right skills at each stage.

The team I manage specialises in API integrations between Zoho and third-party finance and commerce platforms such as Xero, Shopify, WooCommerce, and eBay. Much of our work involves solving integration challenges that fall outside standard documentation, supporting new ideas, new sectors, and evolving business models.

Success is measured through practical outcomes and return on investment, ranging from scaling small operations into high-turnover businesses to delivering rapid gains through online payments, automation, and streamlined digital workflows.

If you are looking for structured Zoho expertise backed by an established consultancy, you can contact Ascent Business Solutions on 0121 392 8140 (UK), email info@ascentbusiness.co.uk, or visit https://www.ascentbusiness.co.uk.
Zoho Creator: Disable/Hide the add and delete subform row options

Zoho Creator: Disable/Hide the add and delete subform row buttons

What?
A really quick article on how to hide these using CSS... at least until Zoho have this as a setting using the GUI.

Why?
Our use-case is that we have a subform which gets autopopulated with a list of services. The client does not want their operations team adding/deleting rows and instead simply specifying quantity (defaulting to zero) alongside each serviceable item.

How?
So at time of print, this is the only way I know: add a note field to inject some CSS into it and hide the delete icon as well as the "Add new row" link.

  1. In Design mode: Add a special field of type "Add Notes" to your form. I'm going to call it CSS_Overrides. It is important that this field will never be hidden (it cannot be seen on the front-end of the application but it must not be removed by Creator). If you know the code to remove this field, then you know what I mean.
    Zoho Creator: Disable/Hide the add and delete subform row options: Add Notes Field

  2. In Workflow mode: add a workflow to the form whenever it is created or edited, on load of the form; I call mine "OnLoad". For Deluge Script, add the following:
    copyraw
    //
    // CSS overrides
    v_CssNotes = "<style>";
    //
    // this line hides the delete/cross icon next to each row
    v_CssNotes = v_CssNotes + ".subformRow .form-group{display:none;}";
    //
    // this line hides the "add new row" from every subform.  
    v_CssNotes = v_CssNotes + ".zc-subform-addnew a{display:none !important;}";
    //
    // close off the CSS style tag
    v_CssNotes = v_CssNotes + "</style>";
    //
    // add to the notes field (also overrides the displayed note of "Add your Note here...")
    input.CSS_Overrides = v_CssNotes;
    1.  // 
    2.  // CSS overrides 
    3.  v_CssNotes = "<style>"
    4.  // 
    5.  // this line hides the delete/cross icon next to each row 
    6.  v_CssNotes = v_CssNotes + ".subformRow .form-group{display:none;}"
    7.  // 
    8.  // this line hides the "add new row" from every subform. 
    9.  v_CssNotes = v_CssNotes + ".zc-subform-addnew a{display:none !important;}"
    10.  // 
    11.  // close off the CSS style tag 
    12.  v_CssNotes = v_CssNotes + "</style>"
    13.  // 
    14.  // add to the notes field (also overrides the displayed note of "Add your Note here...") 
    15.  input.CSS_Overrides = v_CssNotes; 

Additional
  • If you don't want to apply this to the every subform on that form, you will need to brush up a little on your CSS with regard to referring to elements by ID, so for example, if my subform is called "Item Details", then I would adjust the code to something like the following:
    copyraw
    //
    // CSS overrides
    v_CssNotes = "<style>";
    v_CssNotes = v_CssNotes + ".subformRow .form-group{display:none;}";
    //
    // this line hides the "add new row" link of the subform "Item Details".  
    v_CssNotes = v_CssNotes + "#Item_Details_addNewLine a{display:none !important;}";
    v_CssNotes = v_CssNotes + "</style>";
    input.CSS_Overrides = v_CssNotes;
    1.  // 
    2.  // CSS overrides 
    3.  v_CssNotes = "<style>"
    4.  v_CssNotes = v_CssNotes + ".subformRow .form-group{display:none;}"
    5.  // 
    6.  // this line hides the "add new row" link of the subform "Item Details". 
    7.  v_CssNotes = v_CssNotes + "#Item_Details_addNewLine a{display:none !important;}"; 
    8.  v_CssNotes = v_CssNotes + "</style>"
    9.  input.CSS_Overrides = v_CssNotes; 


Category: Zoho Creator :: Article: 365

Credit where Credit is Due:


Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman
www.joellipman.com