1
0
-1

Dear Expert,

Why the field validator execute twice when submitting a form ? 

Best Regards

Tony Chu

  1. Walter

    Can you please tell me on how to replicate your issue please...

CommentAdd your comment...

4 answers

  1.  
    1
    0
    -1

    Hi Tony Chu

    Yes, you could be having two validation in two fields in the same form.

    You could also post your beanshell here for us to help you.

      CommentAdd your comment...
    1.  
      1
      0
      -1

      Hi,

      Which version are you using? I am using 5.0.8 and my validators only run once for CRUD or for starting a process. I only use simple basic forms though. It could either be your version, or perhaps you have something different within your form.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Dear Matthew,

        I am using Text Field and the beanshell validator. The reason I know it run twice is because I added the UtilLog.info at the script start and the script end.

        Best Regards

        Tony Chu

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi Tony Chu

          Do mention which field element you are using and which validator are you referring to.

            CommentAdd your comment...