PowerApps for Beginners - Textbox Control

A&A Inomatic
A&A Inomatic
1.3 هزار بار بازدید - 2 سال پیش - This video shows various ways
This video shows various ways to format Textbox control with date, money & numbers.

It has many extra tips and tricks, so please enjoy.

Here is the OnChange for to ensure user entered date format

If(!IsBlank(Self.Text) && IsMatch(Self.Text,"(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.](19|20)\d\d"),
   Set(varDate, DateValue(Self.Text))
,
   Reset(Date_txt);
   Notify("Please enter valid date", NotificationType.Error, 2000)
)

Default to format Dollar
Text(Value(varDollar), "[$-en-US]$#,#0.00")

Default to Format whole number
If(Value(varNumber1) = 0,
   "0"
,
   Text(Value(varNumber1), "#,#")
)
Default to Format decimal number
If(Value(varNumber2) = 0,
   "0.00"
,
   Text(Value(varNumber2), "#,#.00")
)

My goal is to give you the information you want quick so you can get back to your work. Never my intention to keep you on the video for too long. If you appreciate that and would like to buy a coffee for my effort :) here is the link https://www.paypal.com/donate/?hosted...
2 سال پیش در تاریخ 1401/02/27 منتشر شده است.
1,305 بـار بازدید شده
... بیشتر