Hi,
So I have a form and on the save button I have this formula to disable to the save button until all fields are filled in (there is a reason why I am not just using mandatory fields).
So it works mint, here is an example:
In the DisplayMode property
If(
Dropdown5.Selected.Result || Dropdown3.Selected.Result || Dropdown4.Selected.Result || IsBlank(EmailSelector.SelectedItems),
Disabled,
Edit
)
It works fine when you have a new form, however, if a user enters an email address into the EmailSelector field and then removes the email address, the save button doesn't disable...therefore a user can then submit the form and it won't work.
Any support would be nice.
Solved! Go to Solution.
Hi eka24,
Yeah didn't work. After some troubleshooting, I think I found a solution. This works (amendments in blue)
Old
If(
Dropdown5.Selected.Result || Dropdown3.Selected.Result || Dropdown4.Selected.Result || IsBlank(EmailSelector.SelectedItems),
Disabled,Edit)
New
If(
Dropdown5.Selected.Result || Dropdown3.Selected.Result || Dropdown4.Selected.Result || IsBlank(EmailSelector.Selected.DisplayName),
Disabled,Edit)
Thanks,
Harry
Have you tried And instead of Or
If(
Dropdown5.Selected.Result && Dropdown3.Selected.Result && Dropdown4.Selected.Result && IsBlank(EmailSelector.SelectedItems),
Disabled,Edit)
I also suggest you isolate IsBlank(EmailSelector.SelectedItems) on a New button to check if that is the Problem because that part of the formula looks fine if it a COMBOBOX.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi eka24,
Yeah didn't work. After some troubleshooting, I think I found a solution. This works (amendments in blue)
Old
If(
Dropdown5.Selected.Result || Dropdown3.Selected.Result || Dropdown4.Selected.Result || IsBlank(EmailSelector.SelectedItems),
Disabled,Edit)
New
If(
Dropdown5.Selected.Result || Dropdown3.Selected.Result || Dropdown4.Selected.Result || IsBlank(EmailSelector.Selected.DisplayName),
Disabled,Edit)
Thanks,
Harry
User | Count |
---|---|
178 | |
112 | |
88 | |
44 | |
42 |
User | Count |
---|---|
224 | |
114 | |
114 | |
71 | |
67 |