Notes property/method of forms???

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Forgive the scant example, but it shows exactly what my issue is...

In MyPage.html:
<form id="MyForm" name="MyForm" method="post" action="DoIt.asp">
    <input name="Notes" id="Notes">
    <button onclick="ProcForm();">

<script language="javascript">

In DoIt.asp:

Notes = request.Form("Notes")
response.write Notes

...Results in "undefined" showing in my browser. Change "Notes" to "Nts" and
now it puts "HELLO!" into my browser as expected.

Is there a "Notes" property or method to Form objects?????

Re: Notes property/method of forms???

Quoted text here. Click to load it

It would be better if you provided a URL, and personally, I think you're
doing this the long way.

<% if request.servervariables("request_method") = "POST" then
        response.write "notes: " & request.form("notes")
   end if

<form method="post" action="<%=request.servervariables("script_name")%>">
<input type="text" id="notes" name="notes" value="Hello">
<input type="submit" value="Submit">

Adrienne Boswell
Please respond to the group so others can share

Site Timeline