Value does not show in products_update.php page after double quotation mark
I am sure it might be an easy fix but I can’t figure out why any text or value that comes after a double quotation mark does not appear in the update page.
For example: I have a size field that should have inch sizes such as 12.50” x 2.5” included. Works great to include with the insert page and appears as entered in the DB. But as soon as I try to update the product - the update page shows 12.50 and cuts everything off after the double quotation (inch) sign.
I thought it either has to do with the field setting in the DB or with the code on the products_update.php page.
Here is the code on the products_update.php page for this field:
<div class="lineGroup">
<label for="ProductSize" class="sublabel" > Size:</label>
<div class="errorGroup"> <span id="ProductSize_Spry"> <span>
<input id="ProductSize" name="ProductSize" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("productsupdate","ProductSize"):"".$row_WADAproducts["ProductSize"]."")); ?>" class="formTextfield_Medium" tabindex="5" onBlur="hideServerError('ProductSize_ServerError');">
<?php
if (ValidatedField('productsupdate','productsupdate')) {
if ((strpos((",".ValidatedField("productsupdate","productsupdate").","), "," . "5" . ",") !== false || "5" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="ProductSize_ServerError">Please enter a value.</span>
<?php //WAFV_Conditional products_update.php productsupdate(5:)
}
}
}?>
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">Please enter a value.</span> </span> </span> </div>
</div>
Any help is appreciated.
Thx.
AJ