PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08/06/2008 2:24 PM by  rsharp
Form wont recognize script
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
rsharp
New Member
(1 points)
New Member
Posts:1


Send Message:

--
08/06/2008 2:24 PM

    Can anyone help?  I insert this script, in design studio on PO31; even if the text37 is empty the process still goes through and dont trigger the script to run.

    function BUTTON_OnClick(id, row)
    {
     if (id == "button8")  //When the shipped button is pressed
     {
      var compValue=lawForm.getFormValue("text37");
      if (compValue == "")
      {
       alert("Message");
       lawForm.positionInFieldById("text37");
       return false;
      }
     } 
     return true;
    }

     

    Thanks in advanced

    You are not authorized to post a reply.