Good morning!
I have several rules that call for auto-population based on an XDF file. they are working just fine!
However, the customer would also like to make a few of them customizeable, in case the auto-populated address, for example, is outdated.
How do I handle that?
Here is an example of one of the rules currently being used:
___________________________________________
Rule("OnJobStart");
var address= "";
for (i = 1; i < My_File.recordCount+1;i++)
{
if(Field("company10").indexOf(My_File.GetFieldValue(i,0)) > -1){
address = My_File.GetFieldValue(i, 3);
break;
}
}
return address;