Here is the formula below added to the one you already did 🙂
Set(
DateVar,
DateValue2.SelectedDate + 30
);
If(
DataCardValue10_1 > DateVar,
Notify(
"El tiempo de duración de jornada no puede ser mayor a 30 dÃas",
NotificationType.Error
),
Or(
(DateValue1.SelectedDate + Time(
Value(HourValue1.Selected.Value),
Value(MinuteValue1.Selected.Value),
0
)) < Today(),
(DateValue2.SelectedDate + Time(
Value(HourValue2.Selected.Value),
Value(MinuteValue2.Selected.Value),
0
)) < (DateValue1.SelectedDate + Time(
Value(HourValue1.Selected.Value),
Value(MinuteValue1.Selected.Value),
0
))
),
Notify(
"No Puedo...",
NotificationType.Error
),
SubmitForm(EditForm1_1)
)
change "No Puedo" to the full error message you wanted.
also just looking at your first condition:
DataCardValue10_1 > DateVar
I am not sure what DataCardValue10_1 is but if it is working and correct no worries I am leaving that part the same then 🙂