Clear Multiline Input

Any way to simply clear out a multiline input in a workflow? I have it tied to a custom state, and I reset the custom state to nothing, but this doesn’t reset the multiline input to nothing.

1 Like

Reset relevant inputs?
May need to reset the group when you reset the custom state too. Depending on what it is.

Thanks for trying to help. What makes an input relevant? The manual says:

" Reset relevant inputs

This action wipes the content of the inputs that were used in the workflow with this action. This is useful if you do not want users to click twice and run the workflow twice. The result inputs will either be empty or contain the default value defined for each of them."

Which begs the question what are the inputs “used in the workflow with this action?” What does that even mean? What do I need to do to make an input “used in the workflow with this action?” Does that mean if I hide and then unhide the input, it was “used”? That doesn’t seem to be the case.

I think this video excerpt will answer your questions + give you the solution you need.

You just need to refer to the MultilineInput along the workflow, in any way, e.g. in a effectless conditional. From there, the MultilineInput will be attended with a Reset relevant inputs action.

2 Likes

Thanks. I figured it out.

BUT OH MY GOD HOW CAN BUBBLE NOT UPDATE THE MANUAL?

Literally countless people are confused by the horrible design and terrible word choice.

Gross negligence here by bubble until they fix it.

I know @petter is taking proper care of the documentation and will like hear to your opinion on this.

1 Like

thanks for jumping in with this!

Hey @ademiguel , thanks for tagging me, I’ll have a look at how this can be made more clear.

Hey all, the documentation around this action now includes more details about how this logic work. Thanks for the feedback/suggestion!

1 Like

I believe, but I’m not 100% sure, reset relevant inputs also wipes out inputs when the input is used in a when condition for an action. This is not anticipated, so if I’m correct, the language in the manual should reflect that.

Additionally, the explanation as to “why” is not correct.

Here is some proposed langauge that is clear, addresses when condition usage and I believe explains the real reason why this action exists.

“Reset relevant inputs clears the content of input elements that were directly referenced in the actions of the current workflow. This includes inputs used in “Only When” conditions. Inputs not referenced in any workflow action are unaffected. This design allows you to clear multiple form fields at once without needing a separate ‘Reset input’ action for each one.”

I find ChatGPT is incredibly helpful with explaining things more clearly than I could and used it to help draft this language.