SELECTED ANSWER
replied on March 29, 2021
Oh! You're just trying to add a percent symbol?
I've done that before with Javascript.
Give this a try - assumes you table has a Class Name of myTable and the field(s) in the table that need the percent symbol have Class Name of myPercentField.
$(document).ready(function() {
//Run the function to add the percent symbol to the table fields, when the form loads.
addPercentToTableFields();
//Run the function to add the percent symbol to the table fields, when the table changes or rows are added.
$('.myTable').change(addPercentToTableFields);
$('.cf-table-add-row').click(addPercentToTableFields);
//When called, this function adds % symbols after all fields with the myPercentField class.
//Initially the symbols are cleared, so that they can easily be added without duplicates.
function addPercentToTableFields()
{
$('.myPercentSymbols').each(function() {
$(this).remove();
});
$('.myPercentField input').each(function() {
$(this).css('width', '75%');
$(this).after('<span class="myPercentSymbols"> %</span>');
});
}
});