Announcement

Collapse
No announcement yet.

Shippingclass alert box

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

    Shippingclass alert box

    Hi,

    I would like to add a java alert box so that the customer can confirm there choosen shipping class.

    Heres my attempt:

    On Act_Order1 I've added a link to my java functions page in the header and on the next button:

    onclick="return(checkDate(document.forms[0].SHIPPINGCLASS.value));"

    Then in my function page added a simple bit of java to alert the Shipping Class.

    But All I get is a Null Error? Am I calling this correctly as it works for all the other fields in Act_Order1.


    Hope someone can help

    Jay Cee

    www.farmerschoiceorganic.co.uk

    #2
    The id of your shopping class box is actually 'lstClass'. Try using this in the JavaScript expression.

    Comment


      #3
      Cheers

      I'd spent ages looking.

      Is there any way I could change the perl so I can display the $sClassLabel rather than the $sClassID, as my Classes table is not static as I use it for delivery dates.

      Regards

      Jay cee

      Comment

      Working...
      X