What do you mean by "perimeters"?
When you take my original code, and merge it with the three potential settings from your code, this should work:
// get the value from the dropdown control
var sel = this.getField("Post Admission Letters").value;
// determine the template name
var templateName = "";
switch (sel) {
case 1:
templateName = "MCR ONLY";
break;
case 2:
templateName = "MCR WITH INS AND MCD";
break;
case 3:
templateName = "MCR WITH INSURANCE";
break;
}
// if we have a template name, spawn the template
if (templateName != "") {
var t = this.getTemplate(templateName);
t.spawn();
}
Again, this only works if your dropdown control does use the values 1, 2 and 3 as export values.
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com