Alert before create button on list
Is it possible to show and alert before create modal its show?. I want to alert user that he has made X questions before create it.
This is my header actions code:
Thanks!
3 Replies
I did it with afterValidate, I then check if any records exists, if they do they show a required field with the message in a placeholder for them to tick they are happy with the changes.
But then the message will appear once they fill in the data. For example, if there is a limit of 10 questions and they have already done all 10, the message would appear after writing the question, which would result in poor user satisfaction.
That makes sense, then I am unsure