I need when the user does not enter the required value, the event does not appear for the QR code

[Uploading: IMG_٢٠٢٢٠٦٠٤_٢٠٢٣٤٧.jpg
I need when the user does not enter the required value, the event does not appear for the QR code

Upload properly your image