View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
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)
<form action="<%=M.ThisScript%>" method="POST">
<input type="textbox" name="somename" SIZE=40 MAXLENGTH=60>
<input type="submit" value="Submit">
IF Request.FormCount("somename") > 0
Response.Write("<P>You entered: '" + Request.Form("somename") + "'</P>")

FoxWeb Support Team email

Sent by Sameer K on 11/29/2002 05:02:48 AM:
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.