I have a script that I want to run on the field when another field is equal to a specific value and have this script change the value of the field.
string CompanyN = Context.Field("Company").Text;
string Npc = Context.Field("NamePostCode").Text;
if(CompanyN == "Manage at home")
Npc.Replace(Npc, "Manage at home UB7 0LJ");
I've written this but nothing happens when i run the document recognition stage.