Re: Default hour to now if form mode new but don’t change if edit
@Jimbobrich
On DatePicker DefaultDate use this:
If(
Form1.Mode = FormMode.New,
DateTimeValue(Text(Today(), "yyyy-mm-dd")),
Parent.Default
)
On Hours Dropdown Default property use:
If(
Form1.Mode = FormMode.New,
Hour(Now()),
Text(Hour(Parent.Default),"00")
)
and On Minitues Dropdown Default property use:
If(
Form1.Mode = FormMode.New,
Minute(Now()),
Text(Minute(Parent.Default),"00")
)
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.
Thanks!