that the user entered in fields corresponding_author, financial_support and reviewer_nomination is a co-author of the paper
that if any co-author is a reviewer or AC, they have completed the registration task
Comment: the commented out code is how I tried to do it at first, but it was not working. I think it's because the thrown error would exit the inside function, but the outside one didn't know which error was being thrown (the user would just see "Something went wrong")
Is there a better way to do this?
The pre-process checks two things:
corresponding_author
,financial_support
andreviewer_nomination
is a co-author of the paperComment: the commented out code is how I tried to do it at first, but it was not working. I think it's because the thrown error would exit the inside function, but the outside one didn't know which error was being thrown (the user would just see "Something went wrong") Is there a better way to do this?