@SuperPower99
There are many ways to accomplish this. You must know that for customized SharePoint Forms you can't hide the Save button. So you have to adjust the OnSave Property for the form which gets called when you click the save button in SharePoint. My Formular looks like this:
If(
And(!varFirstNameHasError),
SubmitForm(SharePointForm1),
Notify(
"Please correct errors...!",
NotificationType.Error,
2000
)
)

I this form I have implemented a custom validation for the Field FirstName which is of type Textinput.
1. Unlock your Datacard
2. Select Textinput control
3. Edit OnChange Proeperty
If(
Len(Self.Text) < 10,
Set(
varFirstNameHasError,
true
);
Set(
varFirstNameErrormessage,
"Firstname to short"
),
Set(
varFirstNameHasError,
false
);
)
I check if the Length of the Text smaller than 10. If Yes, I set variable varFirstNameHasError to true and also set a ErrorMessage variable. If it is greater than 10 I set the variables to false - which is my indicator that there are no Errors.

Now we need to display the Error to the user
1. Select the ErrorMessage Label of that DataCard
2. Adjust the Text Property
If(varFirstNameHasError,varFirstNameErrormessage,Parent.Error)

Save and Publish. Let me know if it worked on your side.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.