1
0
-1

Hi everyone,

If I want to validate the user's data when they click submit button, Can I make an IF condition with the data in the Beanshell Binder? Because when I validate data It keep pop out error. even I put an "true" in the if statement, it still keep pop out error. What can I do about this?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, if you are performing validation, you should be using the Bean Shell Validator instead of a store binder.

      1. Zhen Jian Toh

        Hi Ander, so I should validate the data at the txtbox by using BeanShell validator right?
        If i want to validate the data with the database can i code it at Beanshell Store Binder (user are not allow to submit multiple form)? because I have to get the data in the form and compare it with the data in the database. Where should I validate?

      CommentAdd your comment...