Question
Is there any way to pass the value of MML variables to Cold Fusion pages in a <form> output?
Answer
It is possible to use an MML variable with in an input tag by something like:
<input type="hidden" name="browser" value="<# print(var1); #>">
Once this is passed through the NTMail web server you will have a variable "browser" which contains the value of the "var1" variable.
As an example:
<# var1 = "IE6"; #> <input type="hidden" name="browser" value="<# print(var1); #>">
If you now view the source of the page through the web browser you will see:
<input type="hidden" name="browser" value="IE6">
Keywords:MML, passing variables, form