4 Replies Latest reply on Dec 5, 2007 11:13 AM by dreyphoto

    contact form send without all fields entered

      I have a contact form set up with 5 fields and it can only be sent if all 5 fields are filled in. Not all my clients want to enter a phone number or wedding date, so I need to know how to change the action script so that it will still send if only 2 or 3 of the text fields have been entered. I think the following is the action script I need to edit -- I just don't know how;

      _submit.onRelease = function(){
      if (txt1.text == txt1.startText ||
      txt2.text == txt2.startText ||
      txt3.text == txt3.startText ||
      txt4.text == txt4.startText ||
      txt5.text == txt5.startText) {
      } else {
      _this.loadVariables("email.php", "POST");

      Thank you for any help you can send.