Hi,
I am trying to get a text value reset when i click away and try to submit a new form.
I cannot seem to figure it out.
I have a button that sends the user to a new form:
NewForm([@Form1]);Navigate(CheckOutMenu)
There is a sharepoint list with a cell that has text for a default item of:
Text(Now())
The same cell also has a reset value of :
checkoutbutton.Pressed
the checkoutmenu screen also has this on its onvisible:
UpdateContext({resetCan:false})
and onhidden:
UpdateContext({resetCan:true})
the form on the checkout menu has visible set to:
resetCan=false
I can't seem to get this to work.
I just need the fields to get the current time anytime the page is changed or refreshed.
It currently only grabs a new time if i submit a form.
If i click to submit a new form it grabs a new time, i will click a different screen, when i click a new form again, it shows the time of the initial unsubmitted time.
I've tried and just need help please.
Thanks anyone and everyone.
Solved! Go to Solution.
got it finally, just needed this on the button ResetForm(myFormName). i went down a rabbit hole.
got it finally, just needed this on the button ResetForm(myFormName). i went down a rabbit hole.