cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Date/Time buttons on app

I created two date/time buttons on my app where a staff can clock in and out and the times they did so appears.

The formula used was : 

 

foor both buttons using the onselect properties: 

UpdateContext({vTime:!vTime})

 And the text inputs using the default properties:

If(
   vTime,
   Text(
      Now(),
      DateTimeFormat.LongDateTime
   )
)

The thing is when I click on the clock in button is also changes the time on the clock out text input and vice versa. Is there a way to fix this.

Also the buttons and text inputs are not part of the datasource, so they aren't visible on the browse screen as well as the detail screen, how would I add them to those screens.

1 REPLY 1
Highlighted
Community Champion
Community Champion

Re: Date/Time buttons on app

@SandraAkujobi ,

Please close this post as this is the same question.

Happy for someone else to have a go at it.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,314)