Announcement

Collapse
No announcement yet.

Product promt error?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Product promt error?

    Hi,

    Im in need of a little help

    I did have this working not sure what iv done wrong. This page http://gfc.alphaclient.co.uk/acatalo...engraving.html allowed the user to enter their engraving option and then continue shopping. Now when a description is entered it produces an error.


    Here is the code in design view:


    Code:
    <p><input type="text”  name="O_<actinic:variable Name="ProductID"/>" class="inscriptionfield" size="35"  maxlength="50" value="" /></p>
    Through examining the code i have realised that somehow the name of the input field has been cut short... Any ideas on what it should be or can it be called anything?

    I really could do with some help on this

    #2
    " means end of string - you need to use ' to wrap the internal string
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Hi thanks for your response,

      I have had a go at wrapping the internal string:

      Code:
      <p><input type="text”  name="'O_<actinic:variable Name="ProductID"/>'" class="inscriptionfield" size="35"  maxlength="50" value="" /></p>
      It still doesnt work, im guessing i have done it wrong.

      Sorry im a bit lost on this one

      Comment


        #4
        Originally posted by benji_styler
        Hi thanks for your response,

        I have had a go at wrapping the internal string:

        Code:
        <p><input type="text”  name="'O_<actinic:variable Name="ProductID"/>'" class="inscriptionfield" size="35"  maxlength="50" value="" /></p>
        It still doesnt work, im guessing i have done it wrong.

        Sorry im a bit lost on this one
        try
        Code:
        <p><input type="text”  name="O_<actinic:variable Name='ProductID'/>" class="inscriptionfield" size="35"  maxlength="50" value="" /></p>
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          Hi Bill,

          Thanks for your response.

          I have tried what you suggested, however i still get an error message when i enter information in the product prompt.

          http://gfc.alphaclient.co.uk/acatalo...engraving.html

          Any ideas on how to fix it? I really need to get this working...

          Comment


            #6
            The source of your generated page looks like
            Code:
            <input type="text”  name="O_ci3" class="inscriptionfield" size="35"  maxlength="50" value="" />
            You should be using the standard double quote for type="text" and not the wierd slanted closing quote that's on your posts above.

            E.g.
            Code:
            <p><input type="text"  name="O_<actinic:variable Name="ProductID" />" class="inscriptionfield" size="35"  maxlength="50" value="" /></p>
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              I've had problems with quotes ending up like that when I've pasted code from Word before.
              Just FTR.
              Tracey

              Comment


                #8
                Hi Norm,

                Thanks for your response it works great now!

                Comment

                Working...
                X