Validation issue in Store binder (BeanShell Binder)

Confluence User - 13 Aug, 2020

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?

forms;validate;beanshell;if

2


14 Aug, 2020
confluenceUser
confluenceUser

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

14 Aug, 2020
confluenceUser
confluenceUser

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?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print