1
0
-1

Hi everyone, for this problem I want to check if the value inserted already exists in another table. If yes then cannot submit the form. I want to use bean shell validator instead of form store binder. Is it possible? I kinda stuck here. 

Thank you!

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      I think in Joget v6, the "Duplicate Value on Field ID = Value already exists" is not customizable in Form Builder. Joget v6 does not have the property to set the validation message but you can change the default error message label globally by setting a custom message in Settings > "Manage Messages" ( See Manage Messages ) using the key "form.duplicatevaluevalidator.e.valueAlreadyExist".

      1. nfmr

        alright, thank you so much! but is it possible to solve my problem if i use bean shell validator instead?

      CommentAdd your comment...
    2.  
      1
      0
      -1
      1. nfmr

        Hi, yes currently I use that. But I want the error message to be something else not "Value already exists"

      2. Ian

        there's a field called "Duplicate Value Found Error Message" under the "Duplicate Value Validator" properties to customize the error message

      3. nfmr

        i do found this field "Wrong Format Error Message" under "Duplicate Value Validator" but the error message still shows "Value already exists" not as what I write hmm not sure why

      4. Ian

        curious...what version are you using? I'm using enterprise 7.0.12 and it works for me.

      5. nfmr

        mine is enterprise v6...

      CommentAdd your comment...