Using condition for disabling the containers
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Team,
I have four different processes in four containers. I set 4 radio buttons for all four processes. If the user selects Radio button 1, the container for the selected button should be enabled, and the other three containers should be disabled, and likewise for the other three radio buttons. I tried and was not sure how to connect the condition with all 4 Radio tools. Please help me.
Regards,
Alwin
Solved! Go to Solution.
- Labels:
- Interface Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@allwynbazil The workflow I made for you earlier in the week demonstrates this concept when working with multiple containers. Four vs. two shouldn't differ in said concept.
The two anchors from the condition tool are True/False, which in this case is whether or not the radio button is selected. The action from the True anchor is configured to activate the container, whereas the action from the False anchor is configured to disable it. This is true for all 4 radio buttons, so only the container for the one radio button that is selected will be activated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes, I am referring to your workflow. I tried the attached app. However, it's not working as expected and erroring out. Please correct me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@allwynbazil OK, within the Condition configuration just put [#1] within the expression window. I'd missed it when I built your workflow in a rush but I think that should work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Adding[#1] did not help, as there are two inputs. Added [#1] and [#2] have fixed the issue. However, when I run the app, there is no action on the containers. it remains enabled.
Regards,
Alwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@allwynbazil set it up so there's one radio button, one condition and two actions per container. Then it would be best to add some kind of test workflow so you can validate with some browse tools to show results from as you run the app.
I've attached an updated version of the app I made that should work as an example, apologies that it's a bit of a mess. If you populate the relevant date inputs with the ones from the filters you should see that it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks @JamesCharnley . This is still not working for me. Can you please check my attached app and let me know the issue?
Regards,
Alwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@allwynbazil no problem, I made a couple of changes and it works for me now (I had to change to text inputs to test because the data wasn't included).
The first thing was the action of the False anchor of the EA radio button was still set to Enabled, so that needs to be changed to disabled.
Then I've just made sure that the browses can be seen on successful runs to validate:
Let me know if that works for you now. Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Awesome @JamesCharnley. It works fine now. I succeeded in updating the value with the formula as well. In this scenario, we don't need
condition tool. Below is the link for our community.
Regards,
Alwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@allwynbazil Using condition this way I sort of self-discovered trying to practise apps like this so I'm happy to learn an alternative! Thanks for the link
