Login | Register | FAQ
Anonymous

Textbox white space issue

+ Post a reply

1 post Page 1 of 1


Textbox white space issue

by srk1986 » Fri Jul 28, 2017 12:08 pm

I want to create a text box which should allow spaces in between the words.

Coding is done as shown below.
sprintf(strTemp, "<input class='textbox' name='serialno' id='serialno' value='%s' type='text' maxlength='8' /></li>",serial_no);

Here when I set the the serial number to XYZ 123 from the the IE browser it is sent as XYZ+123(data seen through Wireshark). Please let me know how to fix this.

I have tried with my limited knowledge but nothing works for me.
Thanks in advance!
User avatar

srk1986

  • Posts: 1
  • Joined: Fri Jul 28, 2017 11:57 am


+ Post a reply

Page 1 of 1