close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Value does not show in products_update.php page after double quotation mark

Thread began 12/11/2013 8:05 am by joerg431091 | Last modified 12/12/2013 1:53 pm by joerg431091 | 2167 views | 10 replies

joerg431091

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

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...