I am trying to make sure all inputs are filled out before the "New Transaction" button becomes activated.
I have 3 dependancies:
1. NewPayAmount, text input box
2. PaymentType, dropdown box containing:
A. Blank
B. Check
C. Credit Card
D. Debit Card
E. Amex
F. Money Order
3. CheckNumber, text input box
A. This box is only editable when the "Check" selection is made in the PaymentType dropdown, and functions correctly
My formula for the "New Transaction" button DisplayMode is:
If(IsBlank(NewPayAmount.Text)
|| IsBlank(PaymentType.Selected.Value)
|| And(IsMatch(CheckNumber.Text, DisplayMode.Disabled), IsBlank(CheckNumber.Text)),
DisplayMode.Disabled,
DisplayMode.Edit)
This yields all I am looking for, EXCEPT the button becomes active even if the CheckNumber box is empty.
Any thoughts on how to correct? Thank you!!
Solved! Go to Solution.
If(CheckNumber.DisplayMode=DisplayMode.Edit && IsBlank(CheckNumber.Text),Disabled,If(IsBlank(NewPayAmount.Text)
|| IsBlank(PaymentType.Selected.Value),Disabled,Edit))
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
If(CheckNumber.DisplayMode=DisplayMode.Edit && IsBlank(CheckNumber.Text),Disabled,If(IsBlank(NewPayAmount.Text)
|| IsBlank(PaymentType.Selected.Value),Disabled,Edit))
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Fabulous, thank you! Man, I wasn't even close......
User | Count |
---|---|
255 | |
112 | |
92 | |
48 | |
38 |