Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Notes property/method of forms???

Reply
Thread Tools

Notes property/method of forms???

 
 
Noozer
Guest
Posts: n/a
 
      07-27-2005
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();">
</form>

<script language="javascript">
document.forms("MyForm").Notes.value="HELLO!"
</script>

In DoIt.asp:

<%
Notes = request.Form("Notes")
response.write Notes
response.flush
response.end
%>

....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?????


 
Reply With Quote
 
 
 
 
Adrienne
Guest
Posts: n/a
 
      07-27-2005
Gazing into my crystal ball I observed "Noozer" <(E-Mail Removed)>
writing in news:csLFe.52435$s54.28980@pd7tw2no:

> 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();">
></form>
>
><script language="javascript">
> document.forms("MyForm").Notes.value="HELLO!" </script>
>
> In DoIt.asp:
>
><%
> Notes = request.Form("Notes")
> response.write Notes
> response.flush
> response.end
> %>
>
> ...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?????
>
>
>


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")% >">
<p>
<input type="text" id="notes" name="notes" value="Hello">
<input type="submit" value="Submit">
</p>
</form>



--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lotus Notes inotes/webmail Ron P Firefox 1 08-31-2007 03:41 PM
C# 2.0 (Lotus Notes 6 & 7) Create mail document in draft folder for Lotus Notes SteveM ASP .Net 5 08-28-2007 04:16 PM
Lotus Notes and DotNet raymond chiu ASP .Net 1 12-27-2005 10:42 PM
Accessing email from Notes-mail-server without Lotus Notes installed Bjorn Jensen Perl 0 03-22-2005 01:44 PM
AM-Deadlink notes MsOsWin@anon.com Firefox 0 01-13-2005 12:41 AM



Advertisments