cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gilby1986
Frequent Visitor

Text Input converts back to currency when updated

Hi,

 

I'm creating a training request app, where the employee can create a training request, and edit their training request. I'm attempting to have the app setup where, while the employee is in the EditTrainingRequestScreen, and they need to update the Amount which is already displayed as a currency. Once they finish updating the Amount it converts back to a currency. Any idea on how this can be done? Any assistance in how to resolve this would be greatly appreciated. I've provided screenshots below.

 

Gilby1986_0-1665577075283.png

CreateTrainingRequestScreen

 

Gilby1986_1-1665577168887.png

EditTrainingRequestScreen

 

 

Thank You,

 

Gil

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Gilby1986 ,

This depends on your DisplayMode of your Form- you can do this (you need a number for the user to be able to input in Edit Mode)

If(
    CreateForm.Mode = FormMode.View,
    Text(
        ThisItem.Amount,
        "$ 0.00"
    ),
    ThisItem.Amount
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Gilby1986 ,

This depends on your DisplayMode of your Form- you can do this (you need a number for the user to be able to input in Edit Mode)

If(
    CreateForm.Mode = FormMode.View,
    Text(
        ThisItem.Amount,
        "$ 0.00"
    ),
    ThisItem.Amount
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

@WarrenBelz Thank you for assisting it worked once I clicked the Save button.

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,471)