I have a print template with for ex:- field_from_other_table(clause,500,clause_text). I want to replace last 2 lines of the string from the field_from_other_table(clause,500,clause_text) and replace it with field_from_other_table(clause,1000,clause_text). I can’t find a suitable code to do so?
I would recommend adding a third clause to your clause table that is clause #500 with the last part replaced by clause #1000. Then you can call that clause in your print template.
Unfortunately there is currently no way to edit the text from field_from_other_table in a print template.