Date:  12/01/2002 07:57:23 AM Msg ID:  001041
From:  Sameer K Thread:  001034
Subject:  Re: Input box eats up character
Hi,
What you have suggested will work only with version 2.x, right?  I am using version 1.29
Sameer
Sent by FoxWeb Support on 11/30/2002 01:25:20 PM:
Very strange.  We have never had such a problem reported to us.  COuld it be that whatever is processing the form input is regarding the backslash as an escape character?
 
Try using the following code:
 
<%
M.ThisScript = SUBSTR(Request.PathInfo, RAT('/', Request.PathInfo) + 1)
%>
<html>
<head></head>
<body>
<form action="<%=M.ThisScript%>" method="POST">
<input type="textbox" name="somename" SIZE=40 MAXLENGTH=60>
<input type="submit" value="Submit">
</form>
<%
IF Request.FormCount("somename") > 0
Response.Write("<P>You entered: '" + Request.Form("somename") + "'</P>")
ENDIF
%>
</body>
</html>

FoxWeb Support Team
support@foxweb.com email

Sent by Sameer K on 11/29/2002 05:02:48 AM:
Hi,
I am using an input box to allow the user to enter some data using
<input type='textbox' name='somename' SIZE=40 MAXLENGTH=60>.
 
When the user enters: d:\temp\backup and I do a FormField("somename") I only get d:\temp\ackup - note that the "b" is missing.
 
How do I workaround this - is there something I should be doing to make sure that this does not happen?
 
Thank you.
Sameer