Using a text format file to control emailed form output.
Posted on 2004-08-28
I have a form with much of the data in a tabular format, and with our previous server we were able to get the data back in tablular form using a format text file to which the main form refered. The server was changed and the format file is only partially functional. The feature that went away was that empty fields could be filled with "placeholder" text so that the column of the returned data could be detected.
I have asked this question in a couple of places before and I have been unable to use the answer because the answers described ways of influencing the output format in the form itself, which I do not want to do, mainly because it seemed I would not have enough control that way.
Our server handles ASP and CGI.
My question is what approach is there that will let me use a separate format file to control the output of a web form, preserving the tabular characteristics where applicable, and allowing for replacement of an empty field with a string token?