Make hyperlink required for click

Good day, can i make hyperlink required for click ? and then save the form only?
image

i maked like this:
in hyperlink settings onclick set a plain text control some word as variable - "test"
image

and then in button check if this plain text control have test - allow to save, else alert
image

1 Like