Announcement

Collapse
No announcement yet.

Christmas present - another V6 hack. Multiple Other Info Prompts

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

    Christmas present - another V6 hack. Multiple Other Info Prompts

    Someone was recently asking for a way of creating more than one Other Info Prompt.

    Here's a patch that implements multiple such prompts with a trivial way of specifying them.

    All you need to do is something like Prompt1|Prompt2|Prompt3, etc. into the Other Info Prompt field and the necessary code is automatically generated.

    You can have fields that are optional so the customer can leave them empty without error.

    You can control whether the prompt and input field appear on the same or successive lines.

    Finally you can control the width of the input field by starting your prompt with a number.

    Error checking is done so users will get highlighted errors on mandatory fields they leave empty.

    Restrictions so far are that it only works on pages with "Quantity on Product Page", and users will need JavaScript 1.2 in their browser (I've tested it OK with IE5,6 and NN4,6).

    Quite a lot of patching is required and you'll find the full details on
    http://www.rouxel.cwc.net/MultipleOt...oPrompts-2.txt

    Norman.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    Thanks Norman and a Merry Christmas to you.

    On behalf of this forum (and the old one), I have to say a big thankyou for all the patches and add-ons you have come up with. Top stuff!

    Comment


      #3
      Now that 6.0.2 is downloadable I just tested this OK with this.

      Also there's a tiny change in the patch (today) so you may want to re-download it.

      Norman

      p.s.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Broken link?

        Looks like the link to that patch is coming up with a 404 file not found

        Can someone check / re-post the new location.

        Comment


          #5
          http://www.rouxel.cwc.net/V6-Multipl...nfoPrompts.txt works for me
          Owner of a broken heart

          Comment


            #6
            Yes that one does... but the one above is actually: http://www.rouxel.cwc.net/MultipleOt...oPrompts-2.txt

            But thanks for the reply! Got the script now from your link!

            Comment


              #7
              Best to go to www.rouxel.cwc.net/actinicstuff.html where there's an index of all my fudges and patches.

              Norman
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment

              Working...
              X