cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Courtney
Helper V
Helper V

Disable button unless all dropboxes have been selected

Morning All! Hope you're well! 

 

Here is my issue.

 

I have 3 drop boxes with 3 options 

 

1)"-"

2)"Yes"

3)"No"

 

I have a button that I would like to remain disabled until all 3 checkboxes have selected an option apart from "-"

 

I already have another button that will be visible if all dropdowns have "Yes" but I also need to make sure that if the user selects "No" for any of these dropdowns this button will then be selectable. By default, all dropdowns are reset to "-" as default and I would like the button to remain disabled until each dropdown has been used. 

 

If(Signatory_OnPost_Dropdown.Selected.Value="-") && (Signatory_Powered_Dropdown.Selected.Value="-") && (Signatory_Connected_Dropdown.Selected.Value="-",DisplayMode.Edit,
DisplayMode.Disabled
)

 

error.png

1 ACCEPTED SOLUTION

Accepted Solutions
iAm_ManCat
Super User II
Super User II

Heya!

 

Ok, so I'm thinking its just that we've got the disabled/edit swapped around and we want it that if Any of those items is still set to "-" then the button cant be enabled right?

 

 

If(
   Signatory_OnPost_Dropdown.Selected.Value="-"
   ||
   Signatory_Powered_Dropdown.Selected.Value="-"
   ||
   Signatory_Connected_Dropdown.Selected.Value="-",
   
   DisplayMode.Disabled,
   DisplayMode.Edit
)

 

 

Could you try this and let me know if that works for what you wanted?

 

Cheers,

Sancho 

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

2 REPLIES 2
iAm_ManCat
Super User II
Super User II

Heya!

 

Ok, so I'm thinking its just that we've got the disabled/edit swapped around and we want it that if Any of those items is still set to "-" then the button cant be enabled right?

 

 

If(
   Signatory_OnPost_Dropdown.Selected.Value="-"
   ||
   Signatory_Powered_Dropdown.Selected.Value="-"
   ||
   Signatory_Connected_Dropdown.Selected.Value="-",
   
   DisplayMode.Disabled,
   DisplayMode.Edit
)

 

 

Could you try this and let me know if that works for what you wanted?

 

Cheers,

Sancho 

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

Ha, yes! I just figured it out and came back to answer my own question! 😂

Glad what I did was what you replied with! 

 

If(Signatory_OnPost_Dropdown.Selected.Value = "-" || Signatory_Powered_Dropdown.Selected.Value = "-" || Signatory_Connected_Dropdown.Selected.Value = "-", DisplayMode.Disabled,DisplayMode.Edit)

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (30,506)