Non deletable subform
Posted: Sat Jan 27, 2018 12:05 am
I created a subform and I selected the 'No' Deletable option.
However the checkboxes to delete each row of the subform still appeared.
I modified two lines of the nuform.js file to prevent appearing the delete checkboxes on each subform row, but I don't know if this could affect anything else.
To prevent creating the delete checkboxes I modified line 1188 form:
to:
To reduce the rows width (to remove the space where checkboxes are placed on deletable subforms) I modified line 1106 from:
to:
I don't know if checkboxes should just be hidden or if they should be not created for non deletable subforms (as is the case with this modification), so please let me know if I should do it on any other way.
Kind regrads,
Fike
However the checkboxes to delete each row of the subform still appeared.
I modified two lines of the nuform.js file to prevent appearing the delete checkboxes on each subform row, but I don't know if this could affect anything else.
To prevent creating the delete checkboxes I modified line 1188 form:
Code: Select all
nuRecordProperties(SF.forms[c], prefix, rowWidth - 40);
Code: Select all
if(SF.delete == '1') nuRecordProperties(SF.forms[c], prefix, rowWidth - 40);
Code: Select all
rowWidth = rowWidth;
Code: Select all
rowWidth = rowWidth - 30;
Kind regrads,
Fike