Is there a way to dynamically enable nodes in a flow

Is there a way to enable or disable certain nodes in a flow, based on msg.payload? or some other string?

My intended flow is like this:

Node1 (dropdown from node red UI dashboard's node)
Based on what is selected in that drop down, I want to show the subsequent nodes - either form element or button or something.

That way, the UI on node-red dashboard looks neat and relevant.

You can show and hide groups of nodes on the dashboard by using the ui_control node to send an appropriate msg.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.