kruegerste
asked on
Creating Form Elements with VBScript
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....):
dim objtextfield
set objtextfield = new textfield
.
.
.
<td>
<% response.write objtextfield.write("email_ address", 40, 40) %>
</td>
-------------------------- ------
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.
dim objtextfield
set objtextfield = new textfield
.
.
.
<td>
<% response.write objtextfield.write("email_
</td>
--------------------------
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help! Let me know if I can provide any additional assistance.
Regards,
Phil
Regards,
Phil
ASKER
Thanks.