Creating Form Elements with VBScript
Posted on 2006-04-21
I am currently reviewing somebody else's code and I am completely stumped. It seems they are creating form elements in the following way (for example....):
set objtextfield = new textfield
<% response.write objtextfield.write("email_address", 40, 40) %>
Is this possible to create an html textfield (where email_address is the name, 40 is textfield length and the second 40 is max characters) with just the amount of code I have shown?
I can't find where any function is called and the parameters are passed to it. I also have never heard of any known vbscript function to enable this kind of code. But there are no other includes or code and it works.
The reason I ask is because I need to edit this textfield and add the parameter for read-only but I get an error obviously.
Please help. Thanks.