I think I have figured out the conditions under which this problem occurs for me. The FORM element has the enctype attribute added to it so that I can upload a file.
If you take the ContactMine application (that comes with FW 1.29) and in the cont_form.mrg file you add enctype="multipart/form-data" in the FORM element and then when you go to add a contact you enter co\bain and then save the contact the first name will be saved only as co\ain.
Of course in that form you are not uploading any file but in my form I need to upload file and so I do need to use enctype.
Sent by Sameer K on 12/01/2002 07:57:23 AM:
What you have suggested will work only with version 2.x, right? I am using version 1.29
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:
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?