Hi, Rob,
Thank you very much for the reply.
I call the renderForm() is like:
IOutputContext context = formServer.renderForm(
args[0], // name of XDP file
"PDFForm", // for interactive form
xmlBytes, // merged XML data
"CacheEnabled=False", // runtime options
null,
"http://localhost:8080/",
"http://localhost:8080/", // sTargetURL
"file:///d:/formsapi", // path of XDP file
null);
The script in XDP run at server in form:ready is like:
if (txtProductId.rawValue == null || txtProductId.rawValue == "") {
// hide it
txtProductId.presence = "hidden";
}
Thanks again
John