Announcement

Collapse
No announcement yet.

Compulsory field

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

    Compulsory field

    Hi,
    I have had to reinstall Actinic 8.5.1 HIZA due to a hard drive problem!
    I have found that a field entry " Leave any gift message here"that was not required now is required. Please see:
    http://www.smithfieldwine.com/cgibin...CTION=SHOWCART
    I cannot find the code in the shopping cart files to reset it. Actinic cannot help! Can anyone please advise?
    Many thanks,
    George

    #2
    Sorry, the link doesn't show the problem. If add a product to the basket you will see the problem. I've tried the AUG but cannot sort it!

    Comment


      #3
      I think your site's a bit borked

      When I click a dept link it comes up as http://community.actinic.com/acatalo...ing-Wines.html

      Comment


        #4
        Thia is typically what may happen when posting cgi links in the forum as it uses a different baseref.

        Comment


          #5
          Message problem

          I have attached a PDF with a PRTSCR
          Attached Files

          Comment


            #6
            What you are seeing is the default action when you add any text into the Prompt section of a product and have also selected quantity on confirmation page.

            This may need a perl modification to make the field optional rather than required - it's late in the day but I don;t recall seeing a standard setting to make the field not required.

            Comment


              #7
              Found it - see here:
              http://community.actinic.com/showthread.php?t=45096
              Last edited by KB2; 23-Mar-2010, 11:57 AM. Reason: Updating kb links

              Comment


                #8
                Perl edit Am I missing something?

                Thanks Duncan I did that to no effect!
                In ActinicOrder.pm
                sub InfoValidate
                {
                my $sProdref = shift; # the reference of the product
                my $sInfo = shift; # the value of the field
                my $sPrompt = shift; # the prompt for the field
                my $sMessage;
                #
                # The default processing doesn't depend on the product reference
                # If you want product specific prodessing the edit the line
                # below as appropriate
                #
                #if (length $sInfo == 0) # if there is no info, reprompt
                #{
                #$sMessage .= ACTINIC::GetPhrase(-1, 55, "<B>$sPrompt</B>") . "<P>\n";
                #}
                if (length $sInfo > 1000)
                {
                $sMessage .= ACTINIC::GetPhrase(-1, 56, "<B>$sPrompt</B>") . "<P>\n";
                }

                Comment


                  #9
                  That should work in both v8 or v9.
                  Did you upload the site after the change?

                  Comment


                    #10
                    Yes, twice

                    Comment


                      #11
                      I don't think it actually went up though otherwise it should work. You could try a purge and refresh. You could also change the script ID (so long as you don't have any manually created cgi links on your site)

                      Comment


                        #12
                        Originally posted by drounding View Post
                        Thia is typically what may happen when posting cgi links in the forum as it uses a different baseref.
                        I knew that

                        Comment


                          #13
                          Just completed purge and refresh again to no avail!!

                          Comment


                            #14
                            Ignored Actinics advice and managed to get it sorted. Many thanks for your time and assistance. It is gratefully appreciated!!
                            George
                            www.smithfieldwine.com

                            Comment


                              #15
                              What was the problem?

                              Comment

                              Working...
                              X