IE 6.0 not posting form when submit contains unicode.

M

Mark

I'm writing a simple web application and wanted to have several submit
buttons on a form with a checkmark on them. So, I put the following in
the page:

<form name="requestForm" method="post" action="/PreviewRequest">
...
<input type="submit" name="previewItem[0]" value="✘"
class="textImageButton">
...
<input type="submit" name="previewItem[1]" value="✘"
class="textImageButton">
...
<input type="submit" name="previewItem[2]" value="✘"
class="textImageButton">
...
</form>

This renders wonderfully in the browser, but when I click on one of the
buttons, nothing happens. If I replace the value with value="preview",
then it works fine.

Anyone have an Idea how I can get this to post back to the server?
Thanks in advance!

Mark
 
R

Rob Parsons

Hi Mark,

This is just a guess but the & and # characters in your input values may be
causing problems with the form post since the & is used as a parameter
delimiter in the post request.

Try changing from value="✘" to value ="10008"
 
M

Mark

Thanks for the advise but that defeats the ✓ (sorry, 10008 is a
stylized 'X') is the unicode character for a checkmark. I don't want
the number 10003 displayed on the button. I did try escaping the
ampersand, value='&amp;#10003;' , and while IE will submit that, it
doesn't display the way I need it to.

My frustration is that Firefox displays it right, and submit's its
value as
%26%2310003%3B

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top