cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tacolover
Regular Visitor

Cannot get Value to update on new submission form

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.

1 ACCEPTED SOLUTION

Accepted Solutions
tacolover
Regular Visitor

got it finally, just needed this on the button ResetForm(myFormName). i went down a rabbit hole. 

View solution in original post

1 REPLY 1
tacolover
Regular Visitor

got it finally, just needed this on the button ResetForm(myFormName). i went down a rabbit hole. 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,356)