0 Replies Latest reply on Aug 17, 2006 5:41 AM by JohnGree

    Java Message box

    JohnGree Level 1
      Gday can someone help me with some javascript, I have played around with the code below but cant get it right

      i have a form with a text field and a listbox

      what i want is if the text field "Email" is left empty when the form is submited a popup alert box appears with a message saying "are you sure you want to send emails to all states"

      If user clicks yes it submits the form if user clicks No it just goes back to the page they were on