Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Field Submission Problems

Status
Not open for further replies.

Javatrees

Programmer
Sep 1, 2005
2
US
I have a desktop application that was developed by a company called ITC. The VB application takes simple information (name, address, vehicle info,
etc.) and uses a 'bridge' to pass an XML stream to a Cold Fusion application written to transfer the XML into our main web application.

A few people using this ITC application are experiencing errors that are very puzzling to me. The XML is passed to me in a HTML from a <textarea> form submission. This <textarea> has a form name of "packet". So, in Cold Fusion, I se a variable <cfset xml='#Trim(form.packet)#'> to start the parsing of the XML. However, on some computers, the form name coming over becomes garbled or corrupt during the transmission. For example, one computer I looked at passed the following form field names to my web
server:

Form fields should read the following when outputted using #FORMFILEDS#: BRIDGE,PACKET

Instead, I am getting various characters added to the end of the form field
names:
BRIDGE+AAA-,PACKET+AAA-
BRIDGE+AAA-C,PACKET+AAA-
BRIDGE+AAA-,BRIDGE+AAA-Câêó
BRIDGE+AAA-C ¤^ÐW[C,BRIDGE+AAA-C ¤^ÐW[C

I ran a few tests with just a simple HTML submit page and the same thing is happening even when I take the ITC application out of the mix. I created a test HMTL page on the computer desktop in question and received the following data: Form fields should read the following when outputted: TEST1,TEST2 Instead, I am getting various characters added to the end of the form field
names:
TEST1D-C ¤^ÐW[C,TEST2V+AAA-C ¤^ÐW[C

I've only been able to explore one computer where this is happening in one of our insurance agent's office, they have 3 computers there and this is the only one that is having this issue. Do any of you know how/why form fields can become corrupt during transmission?

I've tried the following on the form submission as well:
<form enctype="application/x-<form enctype="multipart/form-data"
<form enctype="text/plain"

I'm leaning toward a browser issue, maybe?

Any help is greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top