unique columns

Confluence User - 19 Feb, 2020

Hi,

I have a form with several fields. Is it possible to have a combination of 2 fields in the form to be unique? I know I can do it directly on the database , but in this case I think I would get an error when the user tries to enter a non unique value, but in this case it should show a message(not error) to the user.


Thanks!


forms;database

3


19 Feb, 2020
confluenceUser
confluenceUser

Maybe you can try using the Duplicate Value Validator plugin in your form.

20 Feb, 2020
confluenceUser
confluenceUser

Yes of course, but if I use Duplicate value validator it allows me to put only one column to be unique, but I want a combination of 2 columns or form fields.

20 Feb, 2020
confluenceUser
confluenceUser

I think you have to write your own custom plugin to perform a multi-field duplicate validator, see Developing Plugins and extend the plugin via the source code.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print