Hi, I have made an html form. It contains the following code:
When words (e.g. hello world) are entered into the text box, both words pass through to the database as expected. However, if I enter £27.00, the value in the database is 7.00 - it removes the £2 from the beginning.
I know this is not a problem with the SAS code I'm using to write to the database because I have run it in SAS without the html and it works fine. I must have done something silly in my html code.
Can anyone tell me what is wrong with my code or what I have left out?
Many thanks for any help.
Katie.
Code:
<label for="POTENTIAL_LOSS">Potential Loss:</label>
<input name="POTENTIAL_LOSS" id="POTENTIAL_LOSS" type="text" value= "" tabindex="30" />
<br />
When words (e.g. hello world) are entered into the text box, both words pass through to the database as expected. However, if I enter £27.00, the value in the database is 7.00 - it removes the £2 from the beginning.
I know this is not a problem with the SAS code I'm using to write to the database because I have run it in SAS without the html and it works fine. I must have done something silly in my html code.
Can anyone tell me what is wrong with my code or what I have left out?
Many thanks for any help.
Katie.