V many thanks @artur (apols, previously replied in different thread)! This is already proving very useful.
Would it be straightforward to store the name of a block - or possibly a block ID - in our Airtable record and then display/hide the block of that name/id? IE instead of:
var form1 = document.getElementById(‘submissionseries’);
form1.style.display = ‘none’;
…something like this logic - excuse syntax as I’m not a programmer!
var formname = window.records[recordId].record.fields[‘formname’]
var form1 = document.getElementById(formname);
form1.style.display = ‘none’;
That would be a huge bonus for us!