I wrote a validation routine to handle invalid input but if the user types in a single or double quote in the first column of any text input in a html page, then the code appears in the input box:
<input id="itemNum" type="text" name="itemNum" value='>
I'm unsure how to handle this. I'm going to attempt to insert a '\' into the string so that it stops intercepting the HTML code (which reads as:
<input id="itemNum" type="text" name="itemNum" value=<TMPL_VAR name="itemNum">>
If anyone has an idea how to get around this weird error..I'm all ears.
-t
<input id="itemNum" type="text" name="itemNum" value='>
I'm unsure how to handle this. I'm going to attempt to insert a '\' into the string so that it stops intercepting the HTML code (which reads as:
<input id="itemNum" type="text" name="itemNum" value=<TMPL_VAR name="itemNum">>
If anyone has an idea how to get around this weird error..I'm all ears.
-t