Read Only Text Box

D

Don

I use FrontPage 2002 and upload my product catalog templates from bCentral
Commerce Manager. The templates can be modified but is seems I am block from
double clicking on the text box which holds a quanity which can be changed by
a visitor to my site.

I tried "read only" and "disable" in the HTML and it seemed to work in
preview but after running commerce wizard and republishing the quantity was
not disabled.

When I double click on the text box area a message pops up "could not load
custom FrontPage component module.

The exist code for this area is as follows:

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table>" s-class="FPEcom.FPECommBot" clientside
botid="31" startspan --><table style='font-family: Verdana, Arial, Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table><!--webbot bot="fpecom" endspan i-checksum="1775"
-->

I removed my modifications from the code. Thanks for any help.
 
D

Don

Code presented with readonly inserted. Previously I used disabled where it
now states "readonly." Thank You.

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly></td></tr></table>" s-class="FPEcom.FPECommBot" clientside
botid="31" startspan --><table style='font-family: Verdana, Arial, Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly></td></tr></table><!--webbot bot="fpecom" endspan
i-checksum="1775" -->

Murray said:
Let me see your code before removing the modifications, please.

--
Murray
============

Don said:
I use FrontPage 2002 and upload my product catalog templates from bCentral
Commerce Manager. The templates can be modified but is seems I am block
from
double clicking on the text box which holds a quanity which can be changed
by
a visitor to my site.

I tried "read only" and "disable" in the HTML and it seemed to work in
preview but after running commerce wizard and republishing the quantity
was
not disabled.

When I double click on the text box area a message pops up "could not load
custom FrontPage component module.

The exist code for this area is as follows:

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica,
sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family:
Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table>" s-class="FPEcom.FPECommBot" clientside
botid="31" startspan --><table style='font-family: Verdana, Arial,
Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table><!--webbot bot="fpecom" endspan
i-checksum="1775"
-->

I removed my modifications from the code. Thanks for any help.
 
M

Murray

Change this -

:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly>

to this -

:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1' readonly="readonly">

in both instances.

<sigh>

--
Murray
============

Don said:
Code presented with readonly inserted. Previously I used disabled where it
now states "readonly." Thank You.

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica,
sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family:
Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly></td></tr></table>" s-class="FPEcom.FPECommBot"
clientside
botid="31" startspan --><table style='font-family: Verdana, Arial,
Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly></td></tr></table><!--webbot bot="fpecom" endspan
i-checksum="1775" -->

Murray said:
Let me see your code before removing the modifications, please.

--
Murray
============

Don said:
I use FrontPage 2002 and upload my product catalog templates from
bCentral
Commerce Manager. The templates can be modified but is seems I am block
from
double clicking on the text box which holds a quanity which can be
changed
by
a visitor to my site.

I tried "read only" and "disable" in the HTML and it seemed to work in
preview but after running commerce wizard and republishing the quantity
was
not disabled.

When I double click on the text box area a message pops up "could not
load
custom FrontPage component module.

The exist code for this area is as follows:

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica,
sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family:
Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table>" s-class="FPEcom.FPECommBot" clientside
botid="31" startspan --><table style='font-family: Verdana, Arial,
Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table><!--webbot bot="fpecom" endspan
i-checksum="1775"
-->

I removed my modifications from the code. Thanks for any help.
 
D

Don

Murray:

A great big "KUDOS" to you. Thank you for helping me with this issue. I had
the code and didn't use it all. With your insight and expertise I have
corrected a glaring problem.

Next up: Code to manage inventory upon purchase.

Thanks again Murray, your help is greatly appreciated!

Don

Murray said:
Change this -

:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly>

to this -

:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1' readonly="readonly">

in both instances.

<sigh>

--
Murray
============

Don said:
Code presented with readonly inserted. Previously I used disabled where it
now states "readonly." Thank You.

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica,
sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family:
Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly></td></tr></table>" s-class="FPEcom.FPECommBot"
clientside
botid="31" startspan --><table style='font-family: Verdana, Arial,
Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'readonly></td></tr></table><!--webbot bot="fpecom" endspan
i-checksum="1775" -->

Murray said:
Let me see your code before removing the modifications, please.

--
Murray
============

I use FrontPage 2002 and upload my product catalog templates from
bCentral
Commerce Manager. The templates can be modified but is seems I am block
from
double clicking on the text box which holds a quanity which can be
changed
by
a visitor to my site.

I tried "read only" and "disable" in the HTML and it seemed to work in
preview but after running commerce wizard and republishing the quantity
was
not disabled.

When I double click on the text box area a message pops up "could not
load
custom FrontPage component module.

The exist code for this area is as follows:

<!--webbot bot="fpecom" name="prodopts" display_name="Product Options"
tag="body" s-optsstyle="font-family: Verdana, Arial, Helvetica,
sans-serif;
font-size: 8pt;" preview="<table style='font-family: Verdana, Arial,
Helvetica, sans-serif; font-size: 8pt;'><tr><td>[ Product
Options&nbsp]</td></tr><tr><td>Quantity:<input style='font-family:
Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table>" s-class="FPEcom.FPECommBot" clientside
botid="31" startspan --><table style='font-family: Verdana, Arial,
Helvetica,
sans-serif; font-size: 8pt;'><tr><td>[ Product
Options ]</td></tr><tr><td>Quantity:<input style='font-family: Verdana,
Arial, Helvetica, sans-serif; font-size: 8pt;' type='text'
value='1'></td></tr></table><!--webbot bot="fpecom" endspan
i-checksum="1775"
-->

I removed my modifications from the code. Thanks for any help.
 
D

Don

My goodness. This procedure "killed" my add to cart button, it has become
non-functioning. The read-only must have affected the ability of this button.

Any ideas?

If life was easy, I would be on this message board. LOL!
 
D

Don

I didn't mess with the code for the "Add to Cart" button. Code for the button
is below.

<!--webbot bot="fpecom" submit_type="Submit" name="buybutton" type="1"
buynow="2" btnimg="../catalog_images/add2cart.gif" display_type="1"
btnface="Add to Cart..." PREVIEW="<img border='0'
src='../catalog_images/add2cart.gif'>" s-class="FPEcom.FPECommBot" clientside
botid="23" TAG="p" startspan --><img border='0'
src='../catalog_images/add2cart.gif'><!--webbot bot="fpecom" endspan
i-checksum="53268" -->
 
M

Murray

Can you link me to the page? I can see no reason there for this to have had
that effect.
 
D

Don

The web site is: www.glasscottage.net

If you observe products from the "shopping gallery" and open an individual
item link the add button is diabled.

If you observe products from the "catalog" list of items, i.e. fiesta candle
holder where multiple items are shown. Opening an individual item, the add
button remains disabled. Choosing the add button from the "list" works.
 
D

Don

P.S. I sent website, however, upon further testing when hovering over the
button that works the info bar at the bottom of the page points to the
database.
Hovering over the diabled button displays "Javascript: void 0.
 
M

Murray

Change this -

value='1'readonly="readonly"

to this -

value='1' readonly="readonly"

(that space is quite important)
 
D

Don

I changed the code adding the space on the Sarah Coventry products only to
test this. Same thing. Sorry but thanks.
 
D

Don

LMAO. The plot thickens. Single quotes took away the the "read only" function
and returned the "Add To Cart" function.

So, read only disables the add to cart! YIKES!
 
D

Don

I use bCentral Commerce Manager. The adjustments are made in templates which
reside in my web directory and are uploaded from bCentral using the Commerce
Wizard add-in.

Each time you modify the code, add links, etc, the Wizard is run and the
site needs to be republished. The read only is currently only in the Sarah
Coventry items, not just the one you linked to. The read only is producing
the javacript:void 0 which is in the source code after this process is run.

Apparantly the add button is readjusted based on it's code when it sees the
quantity, or doesn't see it when set at read only. Actually it's disabled.
The template orignally has all this information set up in a "Region." Most
modifications I have made such as adding links have been outside the region
area.
 
M

Murray

Don:

You got me, then.

But when I looked at that page where the button was disabled, there was no
instance of readonly in the code.
 
D

Don

Murray:

I don't understand fully why the "readonly" code is changed when I go
through the updating process to changing it to the Javascript:Void 0.

Maybe someone else will chime in but this seems illogical to me. Unless I
can't change things in the template within the region which means I would not
be allowed to change the shopping cart completely.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top