>Anyone know how to do macro substitution in javascript?
>
>I've got a webpage at
http://www.shelbynet.com/javascripttest.htm that should give a clue as to what I'm trying to accomplish.
If I got the clue right, then I think you should produce the form elements through a loop. Basically:
< script language="Javascript" >
for (var iloop = 1; iloop < 6; iloop++){
document.write([ form elements, iloop value can be used to create dx variables ]);
...
}
< /script >
But to keep this thread on topic, you could let VFP build the html document prior to upload it (reading the various selectable options from a table, for instance).
----------------------------------
António Tavares Lopes